gtk+ r22381 - in branches/gtk-2-14: . gdk/directfb
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22381 - in branches/gtk-2-14: . gdk/directfb
- Date: Thu, 19 Feb 2009 21:31:55 +0000 (UTC)
Author: neo
Date: Thu Feb 19 21:31:55 2009
New Revision: 22381
URL: http://svn.gnome.org/viewvc/gtk+?rev=22381&view=rev
Log:
2009-02-19 Sven Neumann <sven gimp org>
Merged from trunk:
* gdk/directfb/gdkwindow-directfb.c
(gdk_window_foreign_new_for_display, gdk_directfb_window_new):
initialize private->impl. Thanks to Masse Nicolas for pointing
this out.
Modified:
branches/gtk-2-14/ChangeLog
branches/gtk-2-14/gdk/directfb/gdkwindow-directfb.c
Modified: branches/gtk-2-14/gdk/directfb/gdkwindow-directfb.c
==============================================================================
--- branches/gtk-2-14/gdk/directfb/gdkwindow-directfb.c (original)
+++ branches/gtk-2-14/gdk/directfb/gdkwindow-directfb.c Thu Feb 19 21:31:55 2009
@@ -411,8 +411,7 @@
g_assert (_gdk_parent_root == NULL);
- _gdk_display->layer->GetConfiguration(
- _gdk_display->layer, &dlc );
+ _gdk_display->layer->GetConfiguration (_gdk_display->layer, &dlc);
_gdk_parent_root = g_object_new (GDK_TYPE_WINDOW, NULL);
private = GDK_WINDOW_OBJECT (_gdk_parent_root);
@@ -2653,6 +2652,7 @@
window = g_object_new (GDK_TYPE_WINDOW, NULL);
private = GDK_WINDOW_OBJECT (window);
+ private->impl = g_object_new (_gdk_window_impl_get_type (), NULL);
parent_private = GDK_WINDOW_OBJECT (parent);
parent_impl = GDK_WINDOW_IMPL_DIRECTFB (parent_private->impl);
private->parent = parent_private;
@@ -2731,6 +2731,7 @@
/* we hold a reference count on ourselves */
g_object_ref (window);
private = GDK_WINDOW_OBJECT (window);
+ private->impl = g_object_new (_gdk_window_impl_get_type (), NULL);
private->parent = parent_private;
private->window_type = GDK_WINDOW_TOPLEVEL;
impl = GDK_WINDOW_IMPL_DIRECTFB (private->impl);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]