# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1320053867 0 # Node ID 57ce07fbec45f0c12d7f86b63cb4e91a4f067972 # Parent 6a5df80cfb4301d90b93762d60d5374af2a7884f Allow passing 0 as icon handle to remove container icon on GTK3. diff -r 6a5df80cfb43 -r 57ce07fbec45 gtk3/dw.c --- a/gtk3/dw.c Mon Oct 31 08:57:03 2011 +0000 +++ b/gtk3/dw.c Mon Oct 31 09:37:47 2011 +0000 @@ -5789,9 +5789,7 @@ char *tmp = (char *)thisdata[1]; GdkPixbuf *pixbuf = _find_pixbuf(hicon, NULL, NULL); - if(pixbuf) - gtk_list_store_set(store, &iter, 1, pixbuf, -1); - + gtk_list_store_set(store, &iter, 1, pixbuf, -1); gtk_list_store_set(store, &iter, 2, tmp, -1); } else if(flag & DW_CFA_BITMAPORICON) @@ -5799,8 +5797,7 @@ HICN hicon = *((HICN *)data); GdkPixbuf *pixbuf = _find_pixbuf(hicon, NULL, NULL); - if(pixbuf) - gtk_list_store_set(store, &iter, column + 2, pixbuf, -1); + gtk_list_store_set(store, &iter, column + 2, pixbuf, -1); } else if(flag & DW_CFA_STRING) {