[gnome-settings-daemon/wip/xsettings-manager: 8/16] xsettings: drop a pair of unused functions



commit e769b2695d1e55b61d436cbf2ebb871484e79e7d
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Mar 7 23:10:43 2012 -0500

    xsettings: drop a pair of unused functions

 plugins/xsettings/xsettings-manager.c |   21 ---------------------
 plugins/xsettings/xsettings-manager.h |    3 ---
 2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/plugins/xsettings/xsettings-manager.c b/plugins/xsettings/xsettings-manager.c
index 2987bd8..f26a4b3 100644
--- a/plugins/xsettings/xsettings-manager.c
+++ b/plugins/xsettings/xsettings-manager.c
@@ -194,27 +194,6 @@ xsettings_manager_destroy (XSettingsManager *manager)
   free (manager);
 }
 
-Window
-xsettings_manager_get_window (XSettingsManager *manager)
-{
-  return manager->window;
-}
-
-Bool
-xsettings_manager_process_event (XSettingsManager *manager,
-				 XEvent           *xev)
-{
-  if (xev->xany.window == manager->window &&
-      xev->xany.type == SelectionClear &&
-      xev->xselectionclear.selection == manager->selection_atom)
-    {
-      manager->terminate (manager->cb_data);
-      return True;
-    }
-
-  return False;
-}
-
 void
 xsettings_manager_delete_setting (XSettingsManager *manager,
                                   const char       *name)
diff --git a/plugins/xsettings/xsettings-manager.h b/plugins/xsettings/xsettings-manager.h
index 5877b08..a95c482 100644
--- a/plugins/xsettings/xsettings-manager.h
+++ b/plugins/xsettings/xsettings-manager.h
@@ -43,9 +43,6 @@ XSettingsManager *xsettings_manager_new (Display                *display,
 					 void                   *cb_data);
 
 void   xsettings_manager_destroy       (XSettingsManager *manager);
-Window xsettings_manager_get_window    (XSettingsManager *manager);
-Bool   xsettings_manager_process_event (XSettingsManager *manager,
-					XEvent           *xev);
 
 void   xsettings_manager_delete_setting (XSettingsManager *manager,
                                          const char       *name);



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