[ekiga] Replace some deprecated symbols in gtk 2.18
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Replace some deprecated symbols in gtk 2.18
- Date: Mon, 18 Jul 2011 08:01:46 +0000 (UTC)
commit 326b2409c3275773c6283e085d55fdce6da308a3
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Mon Jul 18 10:01:03 2011 +0200
Replace some deprecated symbols in gtk 2.18
src/dbus-helper/dbus.cpp | 2 +-
win32/diff/ekiga_sticonmenu2.patch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/dbus-helper/dbus.cpp b/src/dbus-helper/dbus.cpp
index 2870da8..868a418 100644
--- a/src/dbus-helper/dbus.cpp
+++ b/src/dbus-helper/dbus.cpp
@@ -113,7 +113,7 @@ ekiga_dbus_component_show (G_GNUC_UNUSED EkigaDBusComponent *self,
PTRACE (1, "DBus\tShow");
GtkWidget *window = GnomeMeeting::Process ()->GetMainWindow ();
- if (GTK_WIDGET_VISIBLE (window))
+ if (gtk_widget_get_visible (GTK_WIDGET (window)))
gtk_window_set_urgency_hint (GTK_WINDOW (window), TRUE);
else
gtk_window_present (GTK_WINDOW (window));
diff --git a/win32/diff/ekiga_sticonmenu2.patch b/win32/diff/ekiga_sticonmenu2.patch
index 4706629..2b79c8e 100644
--- a/win32/diff/ekiga_sticonmenu2.patch
+++ b/win32/diff/ekiga_sticonmenu2.patch
@@ -27,7 +27,7 @@ diff -ur ekiga.orig/src/gui/statusicon.cpp ekiga/src/gui/statusicon.cpp
+{
+ GtkWidget *popup = GTK_WIDGET (data);
+
-+ if (GTK_WIDGET_VISIBLE (popup)) {
++ if (gtk_widget_get_visible (popup)) {
+ gtk_menu_popdown (GTK_MENU (popup));
+ return TRUE;
+ }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]