[ekiga/ds-gtk-application] Main Window: Removed unused code.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Main Window: Removed unused code.
- Date: Sun, 7 Dec 2014 17:29:52 +0000 (UTC)
commit 997ac2bd235fe17577dacf416bb8ab344f910915
Author: Damien Sandras <dsandras seconix com>
Date: Sun Dec 7 18:28:50 2014 +0100
Main Window: Removed unused code.
lib/engine/gui/gtk-frontend/main_window.cpp | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/main_window.cpp b/lib/engine/gui/gtk-frontend/main_window.cpp
index f4fd77f..8943218 100644
--- a/lib/engine/gui/gtk-frontend/main_window.cpp
+++ b/lib/engine/gui/gtk-frontend/main_window.cpp
@@ -210,17 +210,6 @@ static void dialpad_button_clicked_cb (EkigaDialpad *dialpad,
EkigaMainWindow *main_window);
-/* DESCRIPTION : This callback is called when the user tries to close
- * the application using the window manager.
- * BEHAVIOR : Calls the real callback if the notification icon is
- * not shown else hide GM.
- * PRE : A valid pointer to the main window GMObject.
- */
-static void close_activated (G_GNUC_UNUSED GSimpleAction *action,
- G_GNUC_UNUSED GVariant *parameter,
- gpointer data);
-
-
/* DESCRIPTION : This callback is called when a contact is selected
* in the roster or call history views.
* BEHAVIOR : Updates the window menu with new actions.
@@ -529,21 +518,6 @@ key_press_event_cb (EkigaMainWindow *mw,
static void
-close_activated (G_GNUC_UNUSED GSimpleAction *action,
- G_GNUC_UNUSED GVariant *parameter,
- gpointer data)
-{
- // If we have persistent notifications:
- // - we can hide the window
- // - clicking on a notification should show the window back
- // - launching the application again should show the window back
- // If we do not have persistent notifications:
- // - the status icon allows showing the window back
- gtk_widget_hide (GTK_WIDGET (data));
-}
-
-
-static void
actions_changed_cb (G_GNUC_UNUSED GtkWidget *widget,
GMenuModel *model,
gpointer data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]