[gnome-shell] screenshot: Remove harmful empty finalizer



commit 07e10fa03e01ae2f491743b1ba54b10ce4f5503e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Mar 25 11:49:38 2012 -0300

    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 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/shell-screenshot.c b/src/shell-screenshot.c
index 6295427..b0dcfa3 100644
--- a/src/shell-screenshot.c
+++ b/src/shell-screenshot.c
@@ -42,17 +42,9 @@ 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



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