[ekiga] Removed hide_window_cb from src/gui/callbacks.*



commit 2efaa648f8d3d9c73aff372d747820bca9659b9e
Author: Julien Puydt <jpuydt gnome org>
Date:   Tue Oct 20 22:34:43 2009 +0200

    Removed hide_window_cb from src/gui/callbacks.*
    
    It was unused...

 src/gui/callbacks.cpp |    9 ---------
 src/gui/callbacks.h   |    9 ---------
 2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/gui/callbacks.cpp b/src/gui/callbacks.cpp
index fdf60b0..5316ef1 100644
--- a/src/gui/callbacks.cpp
+++ b/src/gui/callbacks.cpp
@@ -86,15 +86,6 @@ show_window_cb (G_GNUC_UNUSED GtkWidget *widget,
 
 
 void
-hide_window_cb (G_GNUC_UNUSED GtkWidget *widget,
-		gpointer data)
-{
-  if (gm_window_is_visible (GTK_WIDGET (data)))
-    gm_window_hide (GTK_WIDGET (data));
-}
-
-
-void
 about_callback (G_GNUC_UNUSED GtkWidget *widget, 
 		gpointer parent_window)
 {
diff --git a/src/gui/callbacks.h b/src/gui/callbacks.h
index 6ddc768..cae698f 100644
--- a/src/gui/callbacks.h
+++ b/src/gui/callbacks.h
@@ -61,15 +61,6 @@ gboolean delete_window_cb (GtkWidget *widget,
 void show_window_cb (GtkWidget *widget,
 		     gpointer data);
 
-/* DESCRIPTION  :  Simple wrapper that will call gnomemeeting_window_hide.
- * BEHAVIOR     :  Calls gnomemeeting_window_hide.
- * PRE          :  The gpointer is a valid pointer to the GtkWindow that needs
- *                 to be shown with the correct size and position.
- */
-void hide_window_cb (GtkWidget *widget,
-		     gpointer data);
-
-
 /* DESCRIPTION  :  This callback is called when the user chooses to open
  *                 the about window.
  * BEHAVIOR     :  Open the about window.



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