summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-12-09 14:01:46 +0100
committerMatthias Clasen <mclasen@redhat.com>2015-12-15 08:41:16 -0500
commit25ecd8cd374115623d4b4db5919c5d0cbfbbbc22 (patch)
tree1a1cd25883c309fe87566585d982e336e4de1811 /gtk/gtkiconhelperprivate.h
parentc0fd106019a8fb121c727a6c32e8d1be497d18eb (diff)
downloadgtk+-25ecd8cd374115623d4b4db5919c5d0cbfbbbc22.tar.gz
iconhelper: Turn into gadget
This is just the basic conversion to inheriting from GTK_TYPE_CSS_GADGET.
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index 4fcbd8d111..b87e26afd8 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -23,11 +23,12 @@
#include "gtk/gtkimage.h"
#include "gtk/gtktypes.h"
+#include "gtkcssgadgetprivate.h"
#include "gtkimagedefinitionprivate.h"
G_BEGIN_DECLS
-#define GTK_TYPE_ICON_HELPER _gtk_icon_helper_get_type()
+#define GTK_TYPE_ICON_HELPER gtk_icon_helper_get_type()
#define GTK_ICON_HELPER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
@@ -55,17 +56,17 @@ typedef struct _GtkIconHelperPrivate GtkIconHelperPrivate;
struct _GtkIconHelper
{
- GObject parent;
+ GtkCssGadget parent;
GtkIconHelperPrivate *priv;
};
struct _GtkIconHelperClass
{
- GObjectClass parent_class;
+ GtkCssGadgetClass parent_class;
};
-GType _gtk_icon_helper_get_type (void) G_GNUC_CONST;
+GType gtk_icon_helper_get_type (void) G_GNUC_CONST;
GtkIconHelper *_gtk_icon_helper_new (GtkWidget *owner);