[gtk+] Declare the GtkWidget::window-dragging style property as readonly



commit 00438fea3dc138f1a625f519f5fe4f6586d3f51f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 28 20:08:14 2010 -0400

    Declare the GtkWidget::window-dragging style property as readonly
    
    This is how we generally declare style properties, and declaring
    this one r/w was just an oversight.

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 68833ac..d490415 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -2493,7 +2493,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                                  P_("Window dragging"),
                                                                  P_("Whether windows can be dragged by clicking on empty areas"),
                                                                  FALSE,
-                                                                 GTK_PARAM_READWRITE));
+                                                                 GTK_PARAM_READABLE));
 
   /**
    * GtkWidget:link-color:



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