gtk+ r19565 - in trunk: . gdk/quartz
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19565 - in trunk: . gdk/quartz
- Date: Thu, 14 Feb 2008 15:51:14 +0000 (GMT)
Author: rhult
Date: Thu Feb 14 15:51:13 2008
New Revision: 19565
URL: http://svn.gnome.org/viewvc/gtk+?rev=19565&view=rev
Log:
2008-02-14 Richard Hult <richard imendio com>
* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
fix.
Modified:
trunk/ChangeLog
trunk/gdk/quartz/gdkdisplay-quartz.c
Modified: trunk/gdk/quartz/gdkdisplay-quartz.c
==============================================================================
--- trunk/gdk/quartz/gdkdisplay-quartz.c (original)
+++ trunk/gdk/quartz/gdkdisplay-quartz.c Thu Feb 14 15:51:13 2008
@@ -42,6 +42,8 @@
GdkDisplay *
gdk_display_open (const gchar *display_name)
{
+ NSScreen *nsscreen;
+
if (_gdk_display != NULL)
return NULL;
@@ -51,7 +53,6 @@
_gdk_display = g_object_new (GDK_TYPE_DISPLAY, NULL);
_gdk_screen = g_object_new (GDK_TYPE_SCREEN, NULL);
- NSScreen *nsscreen;
nsscreen = [[NSScreen screens] objectAtIndex:0];
gdk_screen_set_resolution (_gdk_screen, 72.0 * [nsscreen userSpaceScaleFactor]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]