]> git.0d.be Git - empathy.git/commitdiff
empathy_window_present: remove useless 'steal_focus' arg
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 11 Mar 2010 09:35:25 +0000 (10:35 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 15 Mar 2010 15:28:20 +0000 (16:28 +0100)
libempathy-gtk/empathy-ui-utils.c
libempathy-gtk/empathy-ui-utils.h
src/empathy-chat-window.c
src/empathy-main-window.c
src/empathy-map-view.c
src/empathy-status-icon.c

index b33760629433a67b1e26133ebb87e47a4dee1ba7..b91bf0313f8bc92002361f88198a4c669913bb3b 100644 (file)
@@ -1385,8 +1385,7 @@ empathy_window_iconify (GtkWindow *window, GtkStatusIcon *status_icon)
 
 /* Takes care of moving the window to the current workspace. */
 void
-empathy_window_present (GtkWindow *window,
-                       gboolean   steal_focus)
+empathy_window_present (GtkWindow *window)
 {
        GdkWindow *gdk_window;
 
index 38732c7f992eda28aadbe49c78811028be63ce63..8834cb4c9b419cc291202ab27f2f6282d5cf1beb 100644 (file)
@@ -104,8 +104,7 @@ gboolean    empathy_text_iter_backward_search           (const GtkTextIter*iter,
                                                         const GtkTextIter*limit);
 /* Windows */
 gboolean    empathy_window_get_is_visible               (GtkWindow        *window);
-void        empathy_window_present                      (GtkWindow        *window,
-                                                        gboolean          steal_focus);
+void        empathy_window_present                      (GtkWindow        *window);
 void        empathy_window_iconify                      (GtkWindow        *window,
                                                         GtkStatusIcon    *status_icon);
 GtkWindow * empathy_get_toplevel_window                 (GtkWidget        *widget);
index 158faa0b17115eefc216bc1470433057955fbd60..96484172c42e2b7c0c09478b3fe5f86e177d2e07 100644 (file)
@@ -2242,7 +2242,7 @@ empathy_chat_window_present_chat (EmpathyChat *chat)
 
        priv = GET_PRIV (window);
        empathy_chat_window_switch_to_chat (window, chat);
-       empathy_window_present (GTK_WINDOW (priv->dialog), TRUE);
+       empathy_window_present (GTK_WINDOW (priv->dialog));
 
        gtk_widget_grab_focus (chat->input_text_view);
 }
index 7c8aad496348f8b5a6d50b7a5882aee348b1021a..fe9af9c4d40ecf3969a7c9765c9933fa30e2ab07 100644 (file)
@@ -1306,7 +1306,7 @@ empathy_main_window_show (void)
        GSList                   *l;
 
        if (main_window) {
-               empathy_window_present (GTK_WINDOW (main_window->window), TRUE);
+               empathy_window_present (GTK_WINDOW (main_window->window));
                return main_window->window;
        }
 
index fd6106c95ef9c632eaa60e8926130d7c8dc7602f..287d9b6ff8d55394f57f3bac5c28d9b6e6ea2054 100644 (file)
@@ -351,7 +351,7 @@ empathy_map_view_show (void)
 
   if (window)
     {
-      empathy_window_present (GTK_WINDOW (window->window), TRUE);
+      empathy_window_present (GTK_WINDOW (window->window));
       return window->window;
     }
 
@@ -415,7 +415,7 @@ empathy_map_view_show (void)
   model = GTK_TREE_MODEL (window->list_store);
   gtk_tree_model_foreach (model, map_view_contacts_foreach, window);
 
-  empathy_window_present (GTK_WINDOW (window->window), TRUE);
+  empathy_window_present (GTK_WINDOW (window->window));
 
   /* Set up time updating loop */
   window->timeout_id = g_timeout_add_seconds (5,
index d0cdac31421880601196527bac41a740de104588..d1ea96c98631195613447cf74ba8f8f0db9b92ca 100644 (file)
@@ -362,7 +362,7 @@ status_icon_set_visibility (EmpathyStatusIcon *icon,
        if (!visible) {
                empathy_window_iconify (priv->window, priv->icon);
        } else {
-               empathy_window_present (GTK_WINDOW (priv->window), TRUE);
+               empathy_window_present (GTK_WINDOW (priv->window));
        }
 }