ekiga r7341 - in trunk: . src/gui
- From: sfre svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7341 - in trunk: . src/gui
- Date: Fri, 14 Nov 2008 19:02:34 +0000 (UTC)
Author: sfre
Date: Fri Nov 14 19:02:34 2008
New Revision: 7341
URL: http://svn.gnome.org/viewvc/ekiga?rev=7341&view=rev
Log:
Fix compilation
Modified:
trunk/ChangeLog
trunk/src/gui/main.cpp
Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp (original)
+++ trunk/src/gui/main.cpp Fri Nov 14 19:02:34 2008
@@ -551,7 +551,7 @@
#else
ekiga_main_window_incoming_call_dialog_show (mw, call);
#endif
- mw->current_call = &call;
+ mw->priv->current_call = call;
}
else {
ekiga_main_window_update_calling_state (mw, Calling);
@@ -956,17 +956,13 @@
void
on_videooutput_device_error_cb (Ekiga::VideoOutputManager & /* manager */,
- Ekiga::VideoOutputErrorCodes /* error_code */,
- gpointer /*self*/)
+ Ekiga::VideoOutputErrorCodes error_code,
+ gpointer self)
{
- gchar *dialog_title = NULL;
+ const gchar *dialog_title = _("Error while initializing video output");
+ const gchar *tmp_msg = _("No video will be displayed during this call->");
gchar *dialog_msg = NULL;
- gchar *tmp_msg = NULL;
-
- dialog_title =
- g_strdup_printf (_("Error while initializing video output"));
- tmp_msg = g_strdup (_("No video will be displayed during this call->"));
switch (error_code) {
case Ekiga::VO_ERROR_NONE:
@@ -981,13 +977,11 @@
break;
}
- gnomemeeting_warning_dialog_on_widget (GTK_WINDOW (GTK_WIDGET (self)),
+ gnomemeeting_warning_dialog_on_widget (GTK_WINDOW (self),
"show_device_warnings",
dialog_title,
"%s", dialog_msg);
g_free (dialog_msg);
- g_free (dialog_title);
- g_free (tmp_msg);
}
void
@@ -1469,8 +1463,8 @@
ekiga_main_window_update_calling_state (mw, Standby);
}
}
- else if (mw->calling_state == Called && mw->current_call)
- mw->current_call->answer ();
+ else if (mw->priv->calling_state == Called && mw->priv->current_call)
+ mw->priv->current_call->answer ();
}
@@ -1492,13 +1486,13 @@
EkigaMainWindow *mw = EKIGA_MAIN_WINDOW (data);
GmConnectButton *button = GM_CONNECT_BUTTON (mw->priv->connect_button);
- if (gm_connect_button_get_connected (GM_CONNECT_BUTTON (mw->connect_button)))
+ if (gm_connect_button_get_connected (GM_CONNECT_BUTTON (mw->priv->connect_button)))
hangup_call_cb (widget, data);
- else if (!gm_connect_button_get_connected (GM_CONNECT_BUTTON (mw->connect_button))) {
- if (!mw->current_call)
+ else if (!gm_connect_button_get_connected (GM_CONNECT_BUTTON (mw->priv->connect_button))) {
+ if (!mw->priv->current_call)
place_call_cb (widget, data);
else
- mw->current_call->answer ();
+ mw->priv->current_call->answer ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]