[gtk+] gdk: Remove unused function



commit a489f69e009644717aad8df74397b669f5f3fbb2
Author: Benjamin Otte <otte redhat com>
Date:   Wed Apr 10 23:27:52 2013 +0200

    gdk: Remove unused function

 gdk/gdkinternals.h            |  2 --
 gdk/quartz/gdkscreen-quartz.c | 10 ----------
 gdk/win32/gdkscreen-win32.c   | 10 ----------
 3 files changed, 22 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index a187a03..a14e7ab 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -346,8 +346,6 @@ void       _gdk_screen_close             (GdkScreen      *screen);
 void _gdk_cursor_destroy (GdkCursor *cursor);
 
 extern const GOptionEntry _gdk_windowing_args[];
-gchar *_gdk_windowing_substitute_screen_number (const gchar *display_name,
-                                                gint         screen_number);
 
 void _gdk_windowing_got_event                (GdkDisplay       *display,
                                               GList            *event_link,
diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c
index eafaf20..84269f5 100644
--- a/gdk/quartz/gdkscreen-quartz.c
+++ b/gdk/quartz/gdkscreen-quartz.c
@@ -301,16 +301,6 @@ gdk_quartz_screen_get_number (GdkScreen *screen)
   return 0;
 }
 
-gchar *
-_gdk_windowing_substitute_screen_number (const gchar *display_name,
-                                        int          screen_number)
-{
-  if (screen_number != 0)
-    return NULL;
-
-  return g_strdup (display_name);
-}
-
 static gint
 gdk_quartz_screen_get_width (GdkScreen *screen)
 {
diff --git a/gdk/win32/gdkscreen-win32.c b/gdk/win32/gdkscreen-win32.c
index 2e41ea1..8cab471 100644
--- a/gdk/win32/gdkscreen-win32.c
+++ b/gdk/win32/gdkscreen-win32.c
@@ -147,16 +147,6 @@ gdk_win32_screen_get_number (GdkScreen *screen)
   return 0;
 }
 
-gchar *
-_gdk_windowing_substitute_screen_number (const gchar *display_name,
-                                        int          screen_number)
-{
-  if (screen_number != 0)
-    return NULL;
-
-  return g_strdup (display_name);
-}
-
 static gchar *
 gdk_win32_screen_make_display_name (GdkScreen *screen)
 {


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