From: Ben Pfaff Date: Wed, 30 Mar 2011 04:51:42 +0000 (-0700) Subject: gui: Drop null base_finalize function from PsppireDataWindow. X-Git-Tag: v0.7.8~17 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a24920c65ada574fceed15768f4b30553c77336;p=pspp-builds.git gui: Drop null base_finalize function from PsppireDataWindow. According to the GObject manual, base_finalize is "Never used in practice. Unlikely you will need it." so I don't see a reason to keep a stub here. --- diff --git a/src/ui/gui/psppire-data-window.c b/src/ui/gui/psppire-data-window.c index 72f8abbb..e7506d26 100644 --- a/src/ui/gui/psppire-data-window.c +++ b/src/ui/gui/psppire-data-window.c @@ -69,7 +69,6 @@ -static void psppire_data_window_base_finalize (PsppireDataWindowClass *, gpointer); static void psppire_data_window_base_init (PsppireDataWindowClass *class); static void psppire_data_window_class_init (PsppireDataWindowClass *class); static void psppire_data_window_init (PsppireDataWindow *data_editor); @@ -89,7 +88,7 @@ psppire_data_window_get_type (void) { sizeof (PsppireDataWindowClass), (GBaseInitFunc) psppire_data_window_base_init, - (GBaseFinalizeFunc) psppire_data_window_base_finalize, + NULL, (GClassInitFunc)psppire_data_window_class_init, (GClassFinalizeFunc) NULL, NULL, @@ -146,16 +145,6 @@ psppire_data_window_base_init (PsppireDataWindowClass *class) object_class->finalize = psppire_data_window_finalize; } - - - -static void -psppire_data_window_base_finalize (PsppireDataWindowClass *class, - gpointer class_data) -{ -} - -