[mutter] screen: Remove blank and unused function



commit 7adfaceccfae3ae8890caf8b60dc69b91a1f779e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Aug 15 19:35:42 2014 -0400

    screen: Remove blank and unused function

 src/core/screen.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index 4b46413..0630d6f 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -63,7 +63,6 @@ static char* get_screen_name (MetaDisplay *display,
 
 static void update_num_workspaces  (MetaScreen *screen,
                                     guint32     timestamp);
-static void update_focus_mode      (MetaScreen *screen);
 static void set_workspace_names    (MetaScreen *screen);
 static void prefs_changed_callback (MetaPreference pref,
                                     gpointer       data);
@@ -926,10 +925,6 @@ prefs_changed_callback (MetaPreference pref,
         meta_display_get_current_time_roundtrip (screen->display);
       update_num_workspaces (screen, timestamp);
     }
-  else if (pref == META_PREF_FOCUS_MODE)
-    {
-      update_focus_mode (screen);
-    }
   else if (pref == META_PREF_WORKSPACE_NAMES)
     {
       set_workspace_names (screen);
@@ -1386,12 +1381,6 @@ update_num_workspaces (MetaScreen *screen,
   g_object_notify (G_OBJECT (screen), "n-workspaces");
 }
 
-static void
-update_focus_mode (MetaScreen *screen)
-{
-  /* nothing to do anymore */ ;
-}
-
 void
 meta_screen_update_cursor (MetaScreen *screen)
 {


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