summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2016-02-19 15:40:09 +0100
committerPaolo Borelli <pborelli@gnome.org>2016-02-19 15:49:29 +0100
commit3aec838313477b45a037e1b14cba6d5b8e98efd7 (patch)
tree2918913dfdd3953295d0d198981620f39fd87f44
parent577016126e25aa22415b6952643abc8f59d6fc5f (diff)
downloadgtk+-3aec838313477b45a037e1b14cba6d5b8e98efd7.tar.gz
Win32: chain up screen finalize
Add the proper chain up (in preparation to actually freeing stuff) and remove the empty dispose implementation
-rw-r--r--gdk/win32/gdkscreen-win32.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdk/win32/gdkscreen-win32.c b/gdk/win32/gdkscreen-win32.c
index d9815d400d..d67b7271bb 100644
--- a/gdk/win32/gdkscreen-win32.c
+++ b/gdk/win32/gdkscreen-win32.c
@@ -403,11 +403,8 @@ gdk_win32_screen_is_composited (GdkScreen *screen)
static void
gdk_win32_screen_finalize (GObject *object)
{
-}
-static void
-gdk_win32_screen_dispose (GObject *object)
-{
+ G_OBJECT_CLASS (gdk_win32_screen_parent_class)->finalize (object);
}
static void
@@ -416,7 +413,6 @@ gdk_win32_screen_class_init (GdkWin32ScreenClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GdkScreenClass *screen_class = GDK_SCREEN_CLASS (klass);
- object_class->dispose = gdk_win32_screen_dispose;
object_class->finalize = gdk_win32_screen_finalize;
screen_class->get_display = gdk_win32_screen_get_display;