[gtk+/broadway] [broadway] Remove unneeded _gdk_window_impl_get_type call
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/broadway] [broadway] Remove unneeded _gdk_window_impl_get_type call
- Date: Sat, 4 Dec 2010 21:55:14 +0000 (UTC)
commit 7dbbc5437077785d8dbb066f15d3b08fbad33d1d
Author: Alexander Larsson <alexl redhat com>
Date: Sat Dec 4 22:54:45 2010 +0100
[broadway] Remove unneeded _gdk_window_impl_get_type call
gdk/broadway/gdkwindow-broadway.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c
index 8712e1f..8098fc9 100644
--- a/gdk/broadway/gdkwindow-broadway.c
+++ b/gdk/broadway/gdkwindow-broadway.c
@@ -65,12 +65,6 @@ G_DEFINE_TYPE (GdkWindowImplBroadway,
gdk_window_impl_broadway,
GDK_TYPE_WINDOW_IMPL)
-GType
-_gdk_window_impl_get_type (void)
-{
- return gdk_window_impl_broadway_get_type ();
-}
-
static void
diff_surfaces (cairo_surface_t *surface,
cairo_surface_t *old_surface)
@@ -279,7 +273,7 @@ _gdk_windowing_window_init (GdkScreen * screen)
screen_broadway->root_window = g_object_new (GDK_TYPE_WINDOW, NULL);
window = screen_broadway->root_window;
- window->impl = g_object_new (_gdk_window_impl_get_type (), NULL);
+ window->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_BROADWAY, NULL);
window->impl_window = window;
window->visual = gdk_screen_get_system_visual (screen);
@@ -318,7 +312,7 @@ _gdk_window_impl_new (GdkWindow *window,
screen_broadway = GDK_SCREEN_BROADWAY (screen);
display_broadway = GDK_DISPLAY_BROADWAY (GDK_SCREEN_DISPLAY (screen));
- impl = g_object_new (_gdk_window_impl_get_type (), NULL);
+ impl = g_object_new (GDK_TYPE_WINDOW_IMPL_BROADWAY, NULL);
window->impl = (GdkWindowImpl *)impl;
impl->id = current_id++;
g_hash_table_insert (display_broadway->id_ht, GINT_TO_POINTER(impl->id), window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]