parent
8b26121817
commit
74609a32ae
|
@ -42,9 +42,9 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
|||
%files -f %{module_name}.lang
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README
|
||||
if "%{module_name}" == "emu"
|
||||
%if "%{module_name}" == "emu"
|
||||
%{_bindir}/%{module_name}*
|
||||
endif
|
||||
%endif
|
||||
%{_libdir}/enlightenment/modules/%{module_name}*
|
||||
|
||||
%changelog
|
||||
|
|
|
@ -226,11 +226,10 @@ char *photo_picture_infos_get(Picture *p)
|
|||
void photo_picture_setbg_add(const char *name)
|
||||
{
|
||||
char buf[4096];
|
||||
char *home;
|
||||
const char *home;
|
||||
|
||||
home = e_user_homedir_get();
|
||||
snprintf(buf, sizeof(buf), "%s/.e/e/backgrounds/%s.edj", home, name);
|
||||
free(home);
|
||||
|
||||
photo->setbg_topurge = evas_list_append(photo->setbg_topurge, strdup(buf));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue