From 07e10fa03e01ae2f491743b1ba54b10ce4f5503e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 25 Mar 2012 11:49:38 -0300 Subject: [PATCH] screenshot: Remove harmful empty finalizer We really should be chaining up in the finalizer, but instead of leaving an empty finalize, remove it entirely. https://bugzilla.gnome.org/show_bug.cgi?id=672775 --- src/shell-screenshot.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/shell-screenshot.c b/src/shell-screenshot.c index 6295427eb..b0dcfa38c 100644 --- a/src/shell-screenshot.c +++ b/src/shell-screenshot.c @@ -41,18 +41,10 @@ typedef struct _screenshot_data { G_DEFINE_TYPE(ShellScreenshot, shell_screenshot, G_TYPE_OBJECT); -static void -shell_screenshot_finalize (GObject *gobject) -{ - -} - static void shell_screenshot_class_init (ShellScreenshotClass *screenshot_class) { - GObjectClass *gobject_class = G_OBJECT_CLASS (screenshot_class); - - gobject_class->finalize = shell_screenshot_finalize; + (void) screenshot_class; } static void