gtk+ r19569 - in branches/gtk-2-12: . gdk/quartz



Author: rhult
Date: Thu Feb 14 21:52:20 2008
New Revision: 19569
URL: http://svn.gnome.org/viewvc/gtk+?rev=19569&view=rev

Log:
2008-02-14  Richard Hult  <richard imendio com>

	Merged from trunk:

	* gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
	resizing to be consistent and to avoid introducing an internal
	transform in the view.


Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gdk/quartz/GdkQuartzWindow.c

Modified: branches/gtk-2-12/gdk/quartz/GdkQuartzWindow.c
==============================================================================
--- branches/gtk-2-12/gdk/quartz/GdkQuartzWindow.c	(original)
+++ branches/gtk-2-12/gdk/quartz/GdkQuartzWindow.c	Thu Feb 14 21:52:20 2008
@@ -169,7 +169,7 @@
   impl->width = content_rect.size.width;
   impl->height = content_rect.size.height;
 
-  [[self contentView] setBounds:NSMakeRect (0, 0, impl->width, impl->height)];
+  [[self contentView] setFrame:NSMakeRect (0, 0, impl->width, impl->height)];
 
   /* Synthesize a configure event */
   event = gdk_event_new (GDK_CONFIGURE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]