Re: [Ekiga-devel-list] Building Ekiga 3.00 BETA1 with GTK 2.10
- From: Mauricio Teixeira <mteixeira webset net>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Building Ekiga 3.00 BETA1 with GTK 2.10
- Date: Wed, 03 Sep 2008 11:48:13 -0300
Mauricio Teixeira wrote:
> Hi guys,
>
> I was trying to build ekiga-2.9.90, and I got this error:
>
> codecsbox.cpp: In function 'void codecs_box_init(CodecsBox*)':
> codecsbox.cpp:476: error: 'gtk_widget_set_tooltip_text' was not declared
> in this scope
Well... At the end, I managed to fix myself.
I'm sending a patch so anyone could make use of it, if wanted/needed.
Thanks anyway. :)
--
% Mauricio Teixeira (netmask) | Sao Paulo/SP/BR %
% mteixeira{a}webset{d}net | http://smartpm.org %
% http://mteixeira.webset.net | http://pmping.sf.net %
NOTE: This is my personal e-mail account. I do NOT use
it to speak for my employer or any of my co-workers.
diff -ru ekiga-2.9.90.orig/lib/gui/codecsbox.cpp ekiga-2.9.90/lib/gui/codecsbox.cpp
--- ekiga-2.9.90.orig/lib/gui/codecsbox.cpp 2008-09-01 16:34:36.000000000 -0300
+++ ekiga-2.9.90/lib/gui/codecsbox.cpp 2008-09-03 11:18:10.000000000 -0300
@@ -473,7 +473,7 @@
image = gtk_image_new_from_stock (GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU);
button = gtk_button_new ();
gtk_container_add (GTK_CONTAINER (button), image);
- gtk_widget_set_tooltip_text (button, _("Move selected codec priority upwards"));
+ gtk_label_set_text (GTK_LABEL (button), _("Move selected codec priority upwards"));
gtk_box_pack_start (GTK_BOX (buttons_vbox), button, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (button), "operation", (gpointer) "up");
g_signal_connect (G_OBJECT (button), "clicked",
@@ -483,7 +483,7 @@
image = gtk_image_new_from_stock (GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU);
button = gtk_button_new ();
gtk_container_add (GTK_CONTAINER (button), image);
- gtk_widget_set_tooltip_text (button, _("Move selected codec priority downwards"));
+ gtk_label_set_text (GTK_LABEL (button), _("Move selected codec priority downwards"));
gtk_box_pack_start (GTK_BOX (buttons_vbox), button, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (button), "operation", (gpointer) "down");
g_signal_connect (G_OBJECT (button), "clicked",
diff -ru ekiga-2.9.90.orig/src/gui/main.cpp ekiga-2.9.90/src/gui/main.cpp
--- ekiga-2.9.90.orig/src/gui/main.cpp 2008-09-01 16:19:00.000000000 -0300
+++ ekiga-2.9.90/src/gui/main.cpp 2008-09-03 11:40:40.000000000 -0300
@@ -1646,7 +1646,7 @@
gtk_container_set_border_width (GTK_CONTAINER (mw->connect_button), 0);
gtk_tool_item_set_expand (GTK_TOOL_ITEM (item), FALSE);
- gtk_widget_set_tooltip_text (GTK_WIDGET (mw->connect_button),
+ gtk_label_set_text (GTK_LABEL (GTK_WIDGET (mw->connect_button)),
_("Enter a URI on the left, and click this button to place a call"));
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
@@ -2024,7 +2024,7 @@
gtk_box_pack_start (GTK_BOX (hbox), hscale_brightness, TRUE, TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 3);
- gtk_widget_set_tooltip_text (hscale_brightness, _("Adjust brightness"));
+ gtk_label_set_text (GTK_LABEL (hscale_brightness), _("Adjust brightness"));
g_signal_connect (G_OBJECT (mw->adj_brightness), "value-changed",
G_CALLBACK (video_settings_changed_cb),
@@ -2045,7 +2045,7 @@
gtk_box_pack_start (GTK_BOX (hbox), hscale_whiteness, TRUE, TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 3);
- gtk_widget_set_tooltip_text (hscale_whiteness, _("Adjust whiteness"));
+ gtk_label_set_text (GTK_LABEL (hscale_whiteness), _("Adjust whiteness"));
g_signal_connect (G_OBJECT (mw->adj_whiteness), "value-changed",
G_CALLBACK (video_settings_changed_cb),
@@ -2066,7 +2066,7 @@
gtk_box_pack_start (GTK_BOX (hbox), hscale_colour, TRUE, TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 3);
- gtk_widget_set_tooltip_text (hscale_colour, _("Adjust color"));
+ gtk_label_set_text (GTK_LABEL (hscale_colour), _("Adjust color"));
g_signal_connect (G_OBJECT (mw->adj_colour), "value-changed",
G_CALLBACK (video_settings_changed_cb),
@@ -2087,7 +2087,7 @@
gtk_box_pack_start (GTK_BOX (hbox), hscale_contrast, TRUE, TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 3);
- gtk_widget_set_tooltip_text (hscale_contrast, _("Adjust contrast"));
+ gtk_label_set_text (GTK_LABEL (hscale_contrast), _("Adjust contrast"));
g_signal_connect (G_OBJECT (mw->adj_contrast), "value-changed",
G_CALLBACK (video_settings_changed_cb),
@@ -3010,7 +3010,7 @@
}
}
- gtk_widget_set_tooltip_text (GTK_WIDGET (e), tip_text);
+ gtk_label_set_text (GTK_LABEL (GTK_WIDGET (e)), tip_text);
}
@@ -4366,7 +4366,7 @@
if (mw->statusbar_ebox) {
- gtk_widget_set_tooltip_text (GTK_WIDGET (mw->statusbar_ebox), stats_msg);
+ gtk_label_set_text (GTK_LABEL (GTK_WIDGET (mw->statusbar_ebox)), stats_msg);
}
g_free (stats_msg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]