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
This commit is contained in:
Jasper St. Pierre 2012-03-25 11:49:38 -03:00
parent bf992989c7
commit 07e10fa03e

View File

@ -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