diff options
author | Jasmine Hassan <[email protected]> | 2012-11-05 02:32:23 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-14 09:42:33 +0200 |
commit | 299c8466cdf47ae0468a216c2392b719330a1971 (patch) | |
tree | a61df5ced00e1c835ad6af1826afab8ffed8b220 /eel/eel-image-table.c | |
parent | ae0deb0d1da0060fa0bba24b0fb6a65e53dc94ee (diff) | |
download | caja-299c8466cdf47ae0468a216c2392b719330a1971.tar.bz2 caja-299c8466cdf47ae0468a216c2392b719330a1971.tar.xz |
[eel-image-table] remove useless GdkGC clear_gc, and unrealize method
Not upstream as image-table was removed.
Diffstat (limited to 'eel/eel-image-table.c')
-rw-r--r-- | eel/eel-image-table.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/eel/eel-image-table.c b/eel/eel-image-table.c index 54b3947d..84dff9aa 100644 --- a/eel/eel-image-table.c +++ b/eel/eel-image-table.c @@ -46,7 +46,6 @@ struct EelImageTableDetails { GtkWidget *child_under_pointer; GtkWidget *child_being_pressed; - GdkGC *clear_gc; }; /* Signals */ @@ -71,7 +70,6 @@ static void eel_image_table_finalize (GObject *object) /* GtkWidgetClass methods */ static void eel_image_table_realize (GtkWidget *widget); -static void eel_image_table_unrealize (GtkWidget *widget); /* GtkContainerClass methods */ static void eel_image_table_remove (GtkContainer *container, @@ -126,7 +124,6 @@ eel_image_table_class_init (EelImageTableClass *image_table_class) /* GtkWidgetClass */ widget_class->realize = eel_image_table_realize; - widget_class->unrealize = eel_image_table_unrealize; /* GtkContainerClass */ container_class->remove = eel_image_table_remove; @@ -258,25 +255,6 @@ eel_image_table_realize (GtkWidget *widget) widget); } -static void -eel_image_table_unrealize (GtkWidget *widget) -{ - EelImageTable *image_table; - - g_assert (EEL_IS_IMAGE_TABLE (widget)); - - image_table = EEL_IMAGE_TABLE (widget); - - if (image_table->details->clear_gc != NULL) - { - g_object_unref (image_table->details->clear_gc); - image_table->details->clear_gc = NULL; - } - - /* Chain unrealize */ - EEL_CALL_PARENT (GTK_WIDGET_CLASS, unrealize, (widget)); -} - /* GtkContainerClass methods */ static void eel_image_table_remove (GtkContainer *container, |