[ekiga] Moved the ekiga_main_window_get_call_url code out of #ifdef HAVE_NOTIFY scope



commit 12f3d413c3cb9fe0a0e884edf63b76f3503054a9
Author: Julien Puydt <jpuydt newton localdomain>
Date:   Mon Jan 30 03:37:40 2012 +0100

    Moved the ekiga_main_window_get_call_url code out of #ifdef HAVE_NOTIFY scope

 src/gui/main_window.cpp |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 4532884..4426b25 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -1315,19 +1315,6 @@ closed_cb (NotifyNotification* /*notify*/,
     audiooutput_core->stop_play_event ("incoming_call_sound");
 }
 
-static const std::string
-ekiga_main_window_get_call_url (EkigaMainWindow *mw)
-{
-  g_return_val_if_fail (EKIGA_IS_MAIN_WINDOW (mw), NULL);
-
-  const gchar* entry_text = gtk_entry_get_text (GTK_ENTRY (mw->priv->entry));
-
-  if (entry_text != NULL)
-    return entry_text;
-  else
-    return "";
-}
-
 static void
 ekiga_main_window_incoming_call_notify (EkigaMainWindow *mw,
                                         boost::shared_ptr<Ekiga::Call>  call)
@@ -1395,6 +1382,19 @@ ekiga_main_window_incoming_call_notify (EkigaMainWindow *mw,
 }
 #endif
 
+static const std::string
+ekiga_main_window_get_call_url (EkigaMainWindow *mw)
+{
+  g_return_val_if_fail (EKIGA_IS_MAIN_WINDOW (mw), NULL);
+
+  const gchar* entry_text = gtk_entry_get_text (GTK_ENTRY (mw->priv->entry));
+
+  if (entry_text != NULL)
+    return entry_text;
+  else
+    return "";
+}
+
 static void
 ekiga_main_window_add_device_dialog_show (EkigaMainWindow *mw,
                                           const Ekiga::Device & device,



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