[gtk+: 23/23] window: Avoid a set-but-not-used warning



commit c1573a1fda7c3b917b6809795b9668629fe58883
Author: Timm Bäder <mail baedert org>
Date:   Fri Dec 29 08:52:14 2017 +0100

    window: Avoid a set-but-not-used warning

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index cf8e88a..1816d44 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4554,7 +4554,7 @@ gtk_window_realize_icon (GtkWindow *window)
 
   info->realized = TRUE;
 
-  gdk_window_set_icon_list (_gtk_widget_get_window (widget), icon_list);
+  gdk_window_set_icon_list (gdk_window, icon_list);
   if (GTK_IS_HEADER_BAR (priv->title_box))
     _gtk_header_bar_update_window_icon (GTK_HEADER_BAR (priv->title_box), window);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]