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
This commit is contained in:
Matthias Clasen 2009-02-11 16:31:47 +00:00
parent 4ed4252613
commit a6c640a074
3 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,11 @@
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

View File

@ -38,10 +38,6 @@
#define EPSILON (1e-10)
struct _GtkVolumeButton
{
GtkScaleButton parent;
};
static gboolean cb_query_tooltip (GtkWidget *button,
gint x,

View File

@ -48,6 +48,11 @@ G_BEGIN_DECLS
typedef struct _GtkVolumeButton GtkVolumeButton;
typedef struct _GtkVolumeButtonClass GtkVolumeButtonClass;
struct _GtkVolumeButton
{
GtkScaleButton parent;
};
struct _GtkVolumeButtonClass
{
GtkScaleButtonClass parent_class;