[gedit] Do not set it as app_paintable and remove the set_has_window



commit 2ab3b119b634d97c73a59cb77e4fe2f64c068dba
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Apr 11 13:04:19 2011 +0200

    Do not set it as app_paintable and remove the set_has_window
    
    By default it doesn't have a window anyway so it is safe to remove.

 gedit/gedit-rounded-frame.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-rounded-frame.c b/gedit/gedit-rounded-frame.c
index a0ec9ff..edc3d5c 100644
--- a/gedit/gedit-rounded-frame.c
+++ b/gedit/gedit-rounded-frame.c
@@ -274,9 +274,6 @@ static void
 gedit_rounded_frame_init (GeditRoundedFrame *frame)
 {
 	frame->priv = GEDIT_ROUNDED_FRAME_GET_PRIVATE (frame);
-
-	gtk_widget_set_has_window (GTK_WIDGET (frame), FALSE);
-	gtk_widget_set_app_paintable (GTK_WIDGET (frame), TRUE);
 }
 
 GtkWidget *



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