[gtk+] [entry] unregister icon windows



commit bae84bdf2382d190a25bcf3ac7f35e0ca936007f
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Feb 16 16:28:45 2013 +0100

    [entry] unregister icon windows

 gtk/gtkentry.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index d6a3804..e6d2e56 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -3164,6 +3164,7 @@ gtk_entry_unrealize (GtkWidget *widget)
         {
           if (icon_info->window != NULL)
             {
+              gtk_widget_unregister_window (widget, icon_info->window);
               gdk_window_destroy (icon_info->window);
               icon_info->window = NULL;
             }


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