gtk+ r22315 - in trunk: . gtk



Author: matthiasc
Date: Wed Feb 11 16:31:47 2009
New Revision: 22315
URL: http://svn.gnome.org/viewvc/gtk+?rev=22315&view=rev

Log:
        * gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
        into the header to make it possible to derive from GtkVoumeButton.
        Reported by Chris Lord.


Modified:
   trunk/ChangeLog
   trunk/gtk/gtkvolumebutton.c
   trunk/gtk/gtkvolumebutton.h

Modified: trunk/gtk/gtkvolumebutton.c
==============================================================================
--- trunk/gtk/gtkvolumebutton.c	(original)
+++ trunk/gtk/gtkvolumebutton.c	Wed Feb 11 16:31:47 2009
@@ -38,10 +38,6 @@
 
 #define EPSILON (1e-10)
 
-struct _GtkVolumeButton
-{
-  GtkScaleButton  parent;
-};
 
 static gboolean	cb_query_tooltip (GtkWidget       *button,
                                   gint             x,

Modified: trunk/gtk/gtkvolumebutton.h
==============================================================================
--- trunk/gtk/gtkvolumebutton.h	(original)
+++ trunk/gtk/gtkvolumebutton.h	Wed Feb 11 16:31:47 2009
@@ -48,6 +48,11 @@
 typedef struct _GtkVolumeButton       GtkVolumeButton;
 typedef struct _GtkVolumeButtonClass  GtkVolumeButtonClass;
 
+struct _GtkVolumeButton
+{
+  GtkScaleButton  parent;
+};
+
 struct _GtkVolumeButtonClass
 {
   GtkScaleButtonClass parent_class;



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