[gtk+] widget: Remove some leftover code



commit 5f245374ed1a712b42c3ae73e10a532f968abc3a
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Jul 4 13:16:05 2013 +0200

    widget: Remove some leftover code
    
    The norender stuff is not used anymore

 gtk/gtkwidget.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index d22b00c..c80d1a5 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -462,8 +462,6 @@ struct _GtkWidgetPrivate
   guint have_size_groups      : 1;
 
   guint opacity_group         : 1;
-  guint norender_children     : 1;
-  guint norender              : 1; /* Don't expose windows, instead recurse via draw */
 
   guint8 alpha;
   guint8 user_alpha;
@@ -14828,10 +14826,6 @@ gtk_widget_register_window (GtkWidget    *widget,
 
   gdk_window_set_user_data (window, widget);
   priv->registered_windows = g_list_prepend (priv->registered_windows, window);
-
-  if (priv->window != window && !gdk_window_has_native (window))
-    gdk_window_set_opacity (window,
-                           priv->norender_children ? 0.0 : 1.0);
 }
 
 /**


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