[glade] GladeButtonEditor: Remove pointless finalize implementation.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] GladeButtonEditor: Remove pointless finalize implementation.
- Date: Sun, 28 Apr 2013 10:14:03 +0000 (UTC)
commit 453bb7f3f9af4c223c77892fbf6d6bd9c8575759
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Apr 28 18:46:52 2013 +0900
GladeButtonEditor: Remove pointless finalize implementation.
plugins/gtk+/glade-button-editor.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/plugins/gtk+/glade-button-editor.c b/plugins/gtk+/glade-button-editor.c
index 62ffead..21179e4 100644
--- a/plugins/gtk+/glade-button-editor.c
+++ b/plugins/gtk+/glade-button-editor.c
@@ -26,9 +26,6 @@
#include "glade-button-editor.h"
-
-static void glade_button_editor_finalize (GObject * object);
-
static void glade_button_editor_editable_init (GladeEditableIface * iface);
static void glade_button_editor_grab_focus (GtkWidget * widget);
@@ -86,7 +83,6 @@ glade_button_editor_class_init (GladeButtonEditorClass * klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
- object_class->finalize = glade_button_editor_finalize;
widget_class->grab_focus = glade_button_editor_grab_focus;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/gladegtk/glade-button-editor.ui");
@@ -216,14 +212,6 @@ glade_button_editor_editable_init (GladeEditableIface * iface)
}
static void
-glade_button_editor_finalize (GObject * object)
-{
- glade_editable_load (GLADE_EDITABLE (object), NULL);
-
- G_OBJECT_CLASS (glade_button_editor_parent_class)->finalize (object);
-}
-
-static void
glade_button_editor_grab_focus (GtkWidget * widget)
{
GladeButtonEditor *button_editor = GLADE_BUTTON_EDITOR (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]