make sure that we have a valid theme_id, #104824
Mon Aug 4 14:14:53 2003 Jonathan Blandford <jrb@redhat.com> * gnome-theme-manager.c (idle_async_func): make sure that we have a valid theme_id, #104824
This commit is contained in:
parent
d4118b2458
commit
88ef9e0820
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Aug 4 14:14:53 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gnome-theme-manager.c (idle_async_func): make sure that we have
|
||||
a valid theme_id, #104824
|
||||
|
||||
2003-07-07 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* Release 2.3.4
|
||||
|
|
|
@ -126,7 +126,7 @@ idle_async_func (GdkPixbuf *pixbuf,
|
|||
gtk_tree_model_get (model, &iter,
|
||||
META_THEME_ID_COLUMN, &test_theme_id,
|
||||
-1);
|
||||
if (test_theme_id && !strcmp (theme_id, test_theme_id))
|
||||
if (theme_id && test_theme_id && !strcmp (theme_id, test_theme_id))
|
||||
{
|
||||
gtk_list_store_set (GTK_LIST_STORE (model), &iter,
|
||||
META_THEME_PIXBUF_COLUMN, pixbuf ? pixbuf : default_image,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue