Commit a69eb052 authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

fix possible GList mempool corruption

Thu Jan 03 14:56:46 2002  George Lebl <jirka@5z.com>

	* basep-widget.c: fix possible GList mempool corruption

	* gnome-run.c: look for pixmaps in app directories as well.
parent edda9ebc
Thu Jan 03 14:56:46 2002 George Lebl <jirka@5z.com>
* basep-widget.c: fix possible GList mempool corruption
* gnome-run.c: look for pixmaps in app directories as well.
2002-01-02 Glynn Foster <glynn.foster@sun.com>
* panel-gconf.c, session.c: I am an ass. Use gconf_client instead
......
......@@ -2417,7 +2417,7 @@ queue_recalc_handler (gpointer data)
basep_border_recalc (screen);
}
g_list_free (recalc_list);
g_list_free (list);
return FALSE;
}
......
......@@ -745,6 +745,9 @@ simple_contents_shown (GtkWidget *vbox,
g_object_unref (G_OBJECT (gc));
gc = NULL;
/* FIXME: this is not actually the list of all directories,
* as it only includes the cache, this just seems like all,
* this is wrong! */
entries = fr_get_all_dirs ();
files = NULL;
tmp = entries;
......@@ -850,9 +853,15 @@ unset_pixmap (GtkWidget *gpixmap)
file = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_PIXMAP,
DEFAULT_ICON, TRUE, NULL);
if (file == NULL)
file = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP,
DEFAULT_ICON, TRUE, NULL);
if (file == NULL)
file = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_PIXMAP,
FALLBACK_DEFAULT_ICON, TRUE, NULL);
if (file == NULL)
file = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP,
FALLBACK_DEFAULT_ICON, TRUE, NULL);
gtk_image_set_from_file (GTK_IMAGE (gpixmap), file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment