[gnome-settings-daemon] media-keys: Remove update_and_hide() from the API



commit 0a39964d556cd75282ed9ce673b27d68e7c14e80
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Apr 16 17:50:28 2012 +0100

    media-keys: Remove update_and_hide() from the API

 plugins/media-keys/gsd-osd-window.c |    4 +++-
 plugins/media-keys/gsd-osd-window.h |    1 -
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/media-keys/gsd-osd-window.c b/plugins/media-keys/gsd-osd-window.c
index ec55e97..fe4e5ef 100644
--- a/plugins/media-keys/gsd-osd-window.c
+++ b/plugins/media-keys/gsd-osd-window.c
@@ -68,6 +68,8 @@ struct GsdOsdWindowPrivate
 
 G_DEFINE_TYPE (GsdOsdWindow, gsd_osd_window, GTK_TYPE_WINDOW)
 
+static void gsd_osd_window_update_and_hide (GsdOsdWindow *window);
+
 static void
 rgb_to_hls (gdouble *r,
             gdouble *g,
@@ -1237,7 +1239,7 @@ gsd_osd_window_new (void)
  *
  * Queues the @window for immediate drawing, and queues a timer to hide the window.
  */
-void
+static void
 gsd_osd_window_update_and_hide (GsdOsdWindow *window)
 {
         remove_hide_timeout (window);
diff --git a/plugins/media-keys/gsd-osd-window.h b/plugins/media-keys/gsd-osd-window.h
index 9c507df..b1e6316 100644
--- a/plugins/media-keys/gsd-osd-window.h
+++ b/plugins/media-keys/gsd-osd-window.h
@@ -80,7 +80,6 @@ GType                 gsd_osd_window_get_type          (void);
 
 GtkWidget *           gsd_osd_window_new               (void);
 gboolean              gsd_osd_window_is_valid          (GsdOsdWindow       *window);
-void                  gsd_osd_window_update_and_hide   (GsdOsdWindow       *window);
 void                  gsd_osd_window_set_action        (GsdOsdWindow       *window,
                                                         GsdOsdWindowAction  action);
 void                  gsd_osd_window_set_action_custom (GsdOsdWindow       *window,



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