diff options
author | Benjamin Otte <otte@redhat.com> | 2010-11-23 01:03:55 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-12-02 20:21:03 +0100 |
commit | 370d272b13b44917ab6048fa00fd70b8bad9160a (patch) | |
tree | 534cc5ee7427af71eb9c2864e50012dea559f959 /gdk/win32 | |
parent | ac4609ecc9e2a63803a17000720a02c0b9322757 (diff) | |
download | gtk+-370d272b13b44917ab6048fa00fd70b8bad9160a.tar.gz |
gdk: Remove _gdk_window_impl_get_type() function
It was only used in the backends, and they can use the correct type
directly.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkwindow-win32.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index 7a8cf149f8..5cd3afb216 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -99,12 +99,6 @@ _gdk_window_impl_win32_get_type (void) return object_type; } -GType -_gdk_window_impl_get_type (void) -{ - return _gdk_window_impl_win32_get_type (); -} - static void gdk_window_impl_win32_init (GdkWindowImplWin32 *impl) { @@ -211,7 +205,7 @@ _gdk_windowing_window_init (GdkScreen *screen) _gdk_root = g_object_new (GDK_TYPE_WINDOW, NULL); private = (GdkWindowObject *)_gdk_root; - private->impl = g_object_new (_gdk_window_impl_get_type (), NULL); + private->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_WIN32, NULL); private->impl_window = private; private->visual = gdk_screen_get_system_visual (screen); @@ -435,7 +429,7 @@ _gdk_window_impl_new (GdkWindow *window, hparent = GDK_WINDOW_HWND (real_parent); - impl = g_object_new (_gdk_window_impl_get_type (), NULL); + impl = g_object_new (GDK_TYPE_WINDOW_IMPL_WIN32, NULL); private->impl = (GdkDrawable *)impl; draw_impl = GDK_DRAWABLE_IMPL_WIN32 (impl); draw_impl->wrapper = GDK_DRAWABLE (window); @@ -641,7 +635,7 @@ gdk_window_foreign_new_for_display (GdkDisplay *display, window = g_object_new (GDK_TYPE_WINDOW, NULL); private = (GdkWindowObject *)window; private->visual = gdk_screen_get_system_visual (_gdk_screen); - private->impl = g_object_new (_gdk_window_impl_get_type (), NULL); + private->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_WIN32, NULL); impl = GDK_WINDOW_IMPL_WIN32 (private->impl); draw_impl = GDK_DRAWABLE_IMPL_WIN32 (private->impl); draw_impl->wrapper = GDK_DRAWABLE (window); |