summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 15:40:26 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 15:40:26 (EDT)
commit283f202e5c81198a65b39c4b7d9dc69a61f951e3 (patch)
tree64690eb5f982a1851942ca0251e7f983e2c45cd8
parent5737590dd0cfc710f2a7cfa4f546b5c936bc4889 (diff)
downloadmarquee-283f202e5c81198a65b39c4b7d9dc69a61f951e3.zip
marquee-283f202e5c81198a65b39c4b7d9dc69a61f951e3.tar.gz
marquee-283f202e5c81198a65b39c4b7d9dc69a61f951e3.tar.bz2
MqFindToolbar: Remove dispose method
Destroying child widgets is already handled by the parent class. Fixes: (marquee:xxxxx): Gtk-CRITICAL **: gtk_widget_get_realized: assertion 'GTK_IS_WIDGET (widget)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): Gtk-CRITICAL **: gtk_widget_get_realized: assertion 'GTK_IS_WIDGET (widget)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
-rw-r--r--src/find-toolbar.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/find-toolbar.c b/src/find-toolbar.c
index b011d92..882b7c1 100644
--- a/src/find-toolbar.c
+++ b/src/find-toolbar.c
@@ -194,19 +194,6 @@ constructed(GObject *object)
}
static void
-dispose(GObject *object)
-{
- MqFindToolbar *find_toolbar;
-
- find_toolbar = MQ_FIND_TOOLBAR(object);
-
- g_clear_object(&find_toolbar->search_entry);
- g_clear_object(&find_toolbar->matches_label);
-
- G_OBJECT_CLASS(mq_find_toolbar_parent_class)->dispose(object);
-}
-
-static void
get_property(GObject *object, guint property_id, GValue *value,
GParamSpec *pspec)
{
@@ -250,7 +237,6 @@ mq_find_toolbar_class_init(MqFindToolbarClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS(klass);
object_class->constructed = constructed;
- object_class->dispose = dispose;
object_class->get_property = get_property;
object_class->set_property = set_property;