[bijiben/wip/sadiq/modernize] load-more-button: Don't override dispose handler



commit 04e0070486d689182e3766bb8b83c67c917b2c45
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Thu Nov 2 20:55:21 2017 +0530

    load-more-button: Don't override dispose handler
    
    Nothing was done in the overridden dispose handler,
    So just avoid it.
    
    This is a part of effort to clean up codebase and make the code more
    maintainable.
    https://bugzilla.gnome.org/show_bug.cgi?id=789696

 src/bjb-load-more-button.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/bjb-load-more-button.c b/src/bjb-load-more-button.c
index 55e6347..169add1 100644
--- a/src/bjb-load-more-button.c
+++ b/src/bjb-load-more-button.c
@@ -122,14 +122,6 @@ bjb_load_more_button_finalize (GObject *object)
       (self->controller, on_displayed_items_changed, self);
 }
 
-
-static void
-bjb_load_more_button_dispose (GObject *object)
-{
-  G_OBJECT_CLASS (bjb_load_more_button_parent_class)->dispose (object);
-}
-
-
 static void
 bjb_load_more_button_init (BjbLoadMoreButton *self)
 {
@@ -207,7 +199,6 @@ bjb_load_more_button_class_init (BjbLoadMoreButtonClass *class)
   GtkButtonClass *button_class = GTK_BUTTON_CLASS (class);
 
   object_class->constructed = bjb_load_more_button_constructed;
-  object_class->dispose = bjb_load_more_button_dispose;
   object_class->finalize = bjb_load_more_button_finalize;
   object_class->get_property = bjb_load_more_button_get_property;
   object_class->set_property = bjb_load_more_button_set_property;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]