gtk+ r20491 - trunk/gtk



Author: timj
Date: Fri Jun 20 10:58:02 2008
New Revision: 20491
URL: http://svn.gnome.org/viewvc/gtk+?rev=20491&view=rev

Log:
Deprecate direct access to public variables in GtkButton.

* gtk/gtkbutton.h: Deprecate direct access through GSEAL().


Modified:
   trunk/gtk/gtkbutton.h

Modified: trunk/gtk/gtkbutton.h
==============================================================================
--- trunk/gtk/gtkbutton.h	(original)
+++ trunk/gtk/gtkbutton.h	Fri Jun 20 10:58:02 2008
@@ -60,15 +60,15 @@
 
   guint activate_timeout;
 
-  guint constructed : 1;
-  guint in_button : 1;
-  guint button_down : 1;
-  guint relief : 2;
-  guint use_underline : 1;
-  guint use_stock : 1;
-  guint depressed : 1;
-  guint depress_on_activate : 1;
-  guint focus_on_click : 1;
+  guint GSEAL (constructed : 1);
+  guint GSEAL (in_button : 1);
+  guint GSEAL (button_down : 1);
+  guint GSEAL (relief : 2);
+  guint GSEAL (use_underline : 1);
+  guint GSEAL (use_stock : 1);
+  guint GSEAL (depressed : 1);
+  guint GSEAL (depress_on_activate : 1);
+  guint GSEAL (focus_on_click : 1);
 };
 
 struct _GtkButtonClass



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