summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-02-11 16:31:47 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-02-11 16:31:47 +0000
commita6c640a074c0d1bad8aa5bca172b9173e52624ff (patch)
tree0ea1845c237fd54b98f624e7d987ccfddfc40905
parent4ed42526133e43a7ce9febc2de6d6a67c2080287 (diff)
downloadgtk+-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--ChangeLog8
-rw-r--r--gtk/gtkvolumebutton.c4
-rw-r--r--gtk/gtkvolumebutton.h5
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e97543e9a..3d011fa98d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;