]> Pileus Git - ~andy/gtk/commitdiff
Attach the style to the window so that the style it is not leaked when
authorAlexander Larsson <alexl@redhat.com>
Wed, 20 Dec 2000 16:32:41 +0000 (16:32 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Wed, 20 Dec 2000 16:32:41 +0000 (16:32 +0000)
2000-12-20  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkinvisible.c (gtk_invisible_realize):
Attach the style to the window so that the style it is not
leaked when unrealizing the window.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkinvisible.c

index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index e863b0fd8955193a12074e48ef573e4c5c3c6b9f..53ccbf17732a6448b63814cf3209735ff2bf9642 100644 (file)
@@ -1,3 +1,9 @@
+2000-12-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkinvisible.c (gtk_invisible_realize):
+       Attach the style to the window so that the style it is not
+       leaked when unrealizing the window.
+
 2000-12-18  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktextview.c (gtk_text_view_delete_from_cursor): do
index 1350a43900d734e4582a14a581a8375a61b9d530..2594c3b7d42ebb003a3bff7c62ac1774e4fbd630 100644 (file)
@@ -134,6 +134,8 @@ gtk_invisible_realize (GtkWidget *widget)
 
   widget->window = gdk_window_new (NULL, &attributes, attributes_mask);
   gdk_window_set_user_data (widget->window, widget);
+  
+  widget->style = gtk_style_attach (widget->style, widget->window);
 }
 
 static void