diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-02-11 16:31:47 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-02-11 16:31:47 +0000 |
commit | a6c640a074c0d1bad8aa5bca172b9173e52624ff (patch) | |
tree | 0ea1845c237fd54b98f624e7d987ccfddfc40905 | |
parent | 4ed42526133e43a7ce9febc2de6d6a67c2080287 (diff) | |
download | gtk+-a6c640a074c0d1bad8aa5bca172b9173e52624ff.tar.gz |
Move the _GtkVolumeButton definition into the header to make it possible
* gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition
into the header to make it possible to derive from GtkVoumeButton.
Reported by Chris Lord.
svn path=/trunk/; revision=22315
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | gtk/gtkvolumebutton.c | 4 | ||||
-rw-r--r-- | gtk/gtkvolumebutton.h | 5 |
3 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,13 @@ 2009-02-11 Matthias Clasen <mclasen@redhat.com> + Bug 508545 – No way to identify terminal classes from documentation + + * gtk/gtkvolumebutton.[hc]: Move the _GtkVolumeButton definition + into the header to make it possible to derive from GtkVoumeButton. + Reported by Chris Lord. + +2009-02-11 Matthias Clasen <mclasen@redhat.com> + Bug 571196 – gtk_binding_entry_add_signall deprecated without alternative * gtk/gtk.symbols: diff --git a/gtk/gtkvolumebutton.c b/gtk/gtkvolumebutton.c index af27691b76..0ea6a99819 100644 --- a/gtk/gtkvolumebutton.c +++ b/gtk/gtkvolumebutton.c @@ -38,10 +38,6 @@ #define EPSILON (1e-10) -struct _GtkVolumeButton -{ - GtkScaleButton parent; -}; static gboolean cb_query_tooltip (GtkWidget *button, gint x, diff --git a/gtk/gtkvolumebutton.h b/gtk/gtkvolumebutton.h index c69724fe11..6084e983b2 100644 --- a/gtk/gtkvolumebutton.h +++ b/gtk/gtkvolumebutton.h @@ -48,6 +48,11 @@ G_BEGIN_DECLS typedef struct _GtkVolumeButton GtkVolumeButton; typedef struct _GtkVolumeButtonClass GtkVolumeButtonClass; +struct _GtkVolumeButton +{ + GtkScaleButton parent; +}; + struct _GtkVolumeButtonClass { GtkScaleButtonClass parent_class; |