summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-07-18 22:12:51 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-07-18 22:12:51 +0000
commit0c8511d269b70279eafe6619f297c13f2a07ad85 (patch)
treef7d4ec3b3979f8c52f4598f0a8034978bfd34200 /gtk/gtkwindow.c
parent7fa902f60bb468571c4309b1c833df03285212ea (diff)
downloadgdk-pixbuf-0c8511d269b70279eafe6619f297c13f2a07ad85.tar.gz
Fix C99 declaration
Sat Jul 19 00:18:40 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99 declaration * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function (gtk_widget_real_focus_{in|out}_event): queue shallow draws instead of full draws.
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r--gtk/gtkwindow.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 8de582336..75852bf4d 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -2841,9 +2841,11 @@ gtk_window_set_default_icon_list (GList *list)
void
gtk_window_set_default_icon (GdkPixbuf *pixbuf)
{
+ GList *list;
+
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
- GList *list = g_list_prepend (NULL, pixbuf);
+ list = g_list_prepend (NULL, pixbuf);
gtk_window_set_default_icon_list (list);
g_list_free (list);
}