gtk+ r19340 - in trunk: . gdk/directfb



Author: mitch
Date: Thu Jan 10 17:04:45 2008
New Revision: 19340
URL: http://svn.gnome.org/viewvc/gtk+?rev=19340&view=rev

Log:
2008-01-10  Michael Natterer  <mitch imendio com>

	* gdk/directfb/gdkscreen-directfb.c
	(gdk_screen_get_monitor_width_mm)
	(gdk_screen_get_monitor_height_mm)
	(gdk_screen_get_monitor_plug_name): add these functions to make
	it build again.



Modified:
   trunk/ChangeLog
   trunk/gdk/directfb/gdkscreen-directfb.c

Modified: trunk/gdk/directfb/gdkscreen-directfb.c
==============================================================================
--- trunk/gdk/directfb/gdkscreen-directfb.c	(original)
+++ trunk/gdk/directfb/gdkscreen-directfb.c	Thu Jan 10 17:04:45 2008
@@ -101,6 +101,27 @@
 }
 
 gint
+gdk_screen_get_monitor_width_mm (GdkScreen *screen,
+                                 gint       monitor_num)
+{
+  return gdk_screen_get_width_mm (screen);
+}
+
+gint
+gdk_screen_get_monitor_height_mm (GdkScreen *screen,
+                                  gint       monitor_num)
+{
+  return gdk_screen_get_height_mm (screen);
+}
+
+gchar *
+gdk_screen_get_monitor_plug_name (GdkScreen *screen,
+                                  gint       monitor_num)
+{
+  return g_strdup ("DirectFB");
+}
+
+gint
 gdk_screen_get_number (GdkScreen *screen)
 {
   g_return_val_if_fail (GDK_IS_SCREEN (screen), 0);



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