summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-27 22:19:38 +0300
committermonsta <[email protected]>2016-11-27 22:19:38 +0300
commit31cde3f0645d2625f24daa303d995d91c45ac569 (patch)
treed93e2f415334fd26ce6f7726c5cd1865ce56d3bd
parent3ccd48469c3332ece52cb7b8185c620a1c90b1f9 (diff)
downloadeom-31cde3f0645d2625f24daa303d995d91c45ac569.tar.bz2
eom-31cde3f0645d2625f24daa303d995d91c45ac569.tar.xz
remove unused finalize/destroy methods from thumbview
they were just chaining up to parent and did nothing else
-rw-r--r--src/eom-thumb-view.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/eom-thumb-view.c b/src/eom-thumb-view.c
index 0e5cbed..93f4630 100644
--- a/src/eom-thumb-view.c
+++ b/src/eom-thumb-view.c
@@ -186,22 +186,6 @@ eom_thumb_view_dispose (GObject *object)
}
static void
-eom_thumb_view_finalize (GObject *object)
-{
- g_return_if_fail (EOM_IS_THUMB_VIEW (object));
-
- G_OBJECT_CLASS (eom_thumb_view_parent_class)->finalize (object);
-}
-
-static void
-eom_thumb_view_destroy (GtkWidget *object)
-{
- g_return_if_fail (EOM_IS_THUMB_VIEW (object));
-
- GTK_WIDGET_CLASS (eom_thumb_view_parent_class)->destroy (object);
-}
-
-static void
eom_thumb_view_get_property (GObject *object,
guint prop_id,
GValue *value,
@@ -245,7 +229,7 @@ static void
eom_thumb_view_class_init (EomThumbViewClass *class)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (class);
- GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (class);
+
gobject_class->constructed = eom_thumb_view_constructed;
gobject_class->dispose = eom_thumb_view_dispose;
gobject_class->get_property = eom_thumb_view_get_property;
@@ -253,8 +237,6 @@ eom_thumb_view_class_init (EomThumbViewClass *class)
g_object_class_override_property (gobject_class, PROP_ORIENTATION,
"orientation");
- gobject_class->finalize = eom_thumb_view_finalize;
- widget_class->destroy = eom_thumb_view_destroy;
g_type_class_add_private (class, sizeof (EomThumbViewPrivate));
}