Call gnome_desktop_item_new_from_file with the right arguments. Closes bug
2007-01-17 Kjartan Maraas <kmaraas@gnome.org> * gnome-wm-manager.c: (wm_load): Call gnome_desktop_item_new_from_file with the right arguments. Closes bug #382039. svn path=/trunk/; revision=7144
This commit is contained in:
parent
b136dd74d2
commit
58011dc913
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-01-17 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gnome-wm-manager.c: (wm_load): Call gnome_desktop_item_new_from_file
|
||||
with the right arguments. Closes bug #382039.
|
||||
|
||||
2005-11-14 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gnome-window-manager.c: (gnome_window_manager_class_init):
|
||||
|
|
|
@ -122,9 +122,7 @@ wm_load (const char *desktop_file,
|
|||
|
||||
wm = g_new0 (AvailableWindowManager, 1);
|
||||
|
||||
wm->ditem = gnome_desktop_item_new_from_file (desktop_file,
|
||||
GNOME_DESKTOP_ITEM_TYPE_APPLICATION,
|
||||
NULL);
|
||||
wm->ditem = gnome_desktop_item_new_from_file (desktop_file, 0, NULL);
|
||||
|
||||
if (wm->ditem == NULL) {
|
||||
g_free (wm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue