[ekiga] Removed unused functions
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Removed unused functions
- Date: Mon, 17 Jan 2011 19:03:51 +0000 (UTC)
commit 253057fd864d2538a00cb39284ebf030e63d89b2
Author: Snark <jpuydt gnome org>
Date: Mon Jan 17 20:05:58 2011 +0100
Removed unused functions
The compiler complains now Eugen has added the "static" keyword
src/gui/main_window.cpp | 83 -----------------------------------------------
1 files changed, 0 insertions(+), 83 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 691ae8e..62220cb 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -545,14 +545,6 @@ static void ekiga_main_window_add_device_dialog_show (EkigaMainWindow *main_wind
/* DESCRIPTION : /
- * BEHAVIOR : Press the given dialpad key.
- * PRE : The main window GMObject, the key to press (0 - 9, *, #).
- */
-static void gm_main_window_press_dialpad (GtkWidget *main_window,
- const char c);
-
-
-/* DESCRIPTION : /
* BEHAVIOR : Displays the gnomemeeting logo in the video window.
* PRE : The main window GMObject.
*/
@@ -616,15 +608,6 @@ static void ekiga_main_window_update_sensitivity (EkigaMainWindow *main_window,
bool is_transmitting);
-/* DESCRIPTION : /
- * BEHAVIOR : Update the main window busy state. When the window is busy,
- * a busy cursor is displayed and you can not exit.
- * PRE : The main window GMObject.
- * The first parameter is TRUE if we are busy.
- */
-static void ekiga_main_window_set_busy (EkigaMainWindow *main_window,
- bool busy);
-
/* DESCRIPTION : /
* BEHAVIOR : Updates the information displayed in the info label
@@ -690,15 +673,6 @@ static void ekiga_main_window_push_message (EkigaMainWindow *main_window,
/* DESCRIPTION : /
- * BEHAVIOR : Displays an info message on the statusbar. An info message
- * is only cleared when the user clicks on it.
- * PRE : The main window GMObject, followed by printf syntax format.
- */
-static void ekiga_main_window_push_info_message (EkigaMainWindow *main_window,
- const char *msg,
- ...) G_GNUC_PRINTF(2,3);
-
-/* DESCRIPTION : /
* BEHAVIOR : Sets the given URL as called URL.
* PRE : The main window GMObject.
*/
@@ -2694,23 +2668,6 @@ statusbar_clicked_cb (G_GNUC_UNUSED GtkWidget *widget,
static void
-gm_main_window_press_dialpad (GtkWidget *main_window,
- const char c)
-{
- guint key = 0;
-
- if (c == '*')
- key = GDK_KP_Multiply;
- else if (c == '#')
- key = GDK_numbersign;
- else
- key = GDK_KP_0 + atoi (&c);
-
- gtk_accel_groups_activate (G_OBJECT (main_window), key, (GdkModifierType) 0);
-}
-
-
-static void
ekiga_main_window_update_logo_have_window (EkigaMainWindow *mw)
{
g_return_if_fail (EKIGA_IS_MAIN_WINDOW (mw));
@@ -2981,28 +2938,6 @@ ekiga_main_window_hide_call_panel (EkigaMainWindow *mw)
}
}
-
-static void
-ekiga_main_window_set_busy (EkigaMainWindow *mw,
- bool busy)
-{
- GdkCursor *cursor = NULL;
-
- g_return_if_fail (EKIGA_IS_MAIN_WINDOW (mw));
-
- gtk_widget_set_sensitive (mw->priv->main_toolbar, !busy);
- gtk_widget_set_sensitive (mw->priv->main_menu, !busy);
-
- if (busy) {
-
- cursor = gdk_cursor_new (GDK_WATCH);
- gdk_window_set_cursor (GTK_WIDGET (mw)->window, cursor);
- gdk_cursor_unref (cursor);
- }
- else
- gdk_window_set_cursor (GTK_WIDGET (mw)->window, NULL);
-}
-
void
ekiga_main_window_clear_signal_levels (EkigaMainWindow *mw)
{
@@ -4536,24 +4471,6 @@ ekiga_main_window_push_message (EkigaMainWindow *mw,
static void
-ekiga_main_window_push_info_message (EkigaMainWindow *mw,
- const char *msg,
- ...)
-{
- char *buffer;
- va_list args;
-
- g_return_if_fail (EKIGA_IS_MAIN_WINDOW (mw));
-
- va_start (args, msg);
- buffer = g_strdup_vprintf (msg, args);
- gm_statusbar_push_info_message (GM_STATUSBAR (mw->priv->statusbar), "%s", buffer);
- g_free (buffer);
- va_end (args);
-}
-
-
-static void
ekiga_main_window_set_call_url (EkigaMainWindow *mw,
const char *url)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]