diff options
author | Timm Bäder <mail@baedert.org> | 2016-12-02 15:20:39 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2016-12-03 13:19:26 +0100 |
commit | 49508ddfdbf6d204f4c42a7abc31c45f4ad91630 (patch) | |
tree | bfdfe78e99626b09663ca2dc003ba7938c199ec0 /gtk/gtkiconhelper.c | |
parent | 31ed68dbfa281c66d4f6ed122843d65bfd5c9236 (diff) | |
download | gtk+-49508ddfdbf6d204f4c42a7abc31c45f4ad91630.tar.gz |
iconhelper: Remove allocate implementation
Diffstat (limited to 'gtk/gtkiconhelper.c')
-rw-r--r-- | gtk/gtkiconhelper.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/gtkiconhelper.c b/gtk/gtkiconhelper.c index fee8bd641d..5404a3c13d 100644 --- a/gtk/gtkiconhelper.c +++ b/gtk/gtkiconhelper.c @@ -130,15 +130,6 @@ gtk_icon_helper_get_preferred_size (GtkCssGadget *gadget, *minimum = *natural = icon_height; } -static void -gtk_icon_helper_allocate (GtkCssGadget *gadget, - const GtkAllocation *allocation, - int baseline, - GtkAllocation *out_clip) -{ - GTK_CSS_GADGET_CLASS (gtk_icon_helper_parent_class)->allocate (gadget, allocation, baseline, out_clip); -} - static gboolean gtk_icon_helper_draw (GtkCssGadget *gadget, cairo_t *cr, @@ -205,7 +196,6 @@ gtk_icon_helper_class_init (GtkIconHelperClass *klass) GObjectClass *object_class = G_OBJECT_CLASS (klass); gadget_class->get_preferred_size = gtk_icon_helper_get_preferred_size; - gadget_class->allocate = gtk_icon_helper_allocate; gadget_class->draw = gtk_icon_helper_draw; gadget_class->style_changed = gtk_icon_helper_style_changed; |