aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-04-13 22:12:25 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-04-19 17:55:58 +0800
commitcd798ab3c9d123c271245dea28682e3b85d3f9de (patch)
treed3d62aa62165b83f209c3546be94873de4b7de7c /libempathy-gtk
parentf9d98f63fe3eaf8b3871df629445343c59d6da76 (diff)
downloadgsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.tar
gsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.tar.gz
gsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.tar.bz2
gsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.tar.lz
gsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.tar.xz
gsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.tar.zst
gsoc2013-empathy-cd798ab3c9d123c271245dea28682e3b85d3f9de.zip
Do not use deprecated GTK symbols
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c2
-rw-r--r--libempathy-gtk/empathy-geometry.c2
-rw-r--r--libempathy-gtk/empathy-video-widget.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 93e801cd1..b06329a67 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3110,7 +3110,7 @@ empathy_chat_paste (EmpathyChat *chat)
priv = GET_PRIV (chat);
if (priv->tp_chat == NULL ||
- !GTK_WIDGET_IS_SENSITIVE (chat->input_text_view))
+ !gtk_widget_is_sensitive (chat->input_text_view))
return;
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (chat->input_text_view));
diff --git a/libempathy-gtk/empathy-geometry.c b/libempathy-gtk/empathy-geometry.c
index 9a3e1f797..79730d650 100644
--- a/libempathy-gtk/empathy-geometry.c
+++ b/libempathy-gtk/empathy-geometry.c
@@ -140,7 +140,7 @@ empathy_geometry_save (GtkWindow *window,
g_return_if_fail (GTK_IS_WINDOW (window));
g_return_if_fail (!EMP_STR_EMPTY (name));
- if (!GTK_WIDGET_VISIBLE (window))
+ if (!gtk_widget_get_visible (GTK_WIDGET (window)))
return;
/* escape the name so that unwanted characters such as # are removed */
diff --git a/libempathy-gtk/empathy-video-widget.c b/libempathy-gtk/empathy-video-widget.c
index 902e5cd7f..a3b13fd12 100644
--- a/libempathy-gtk/empathy-video-widget.c
+++ b/libempathy-gtk/empathy-video-widget.c
@@ -414,7 +414,7 @@ empathy_video_widget_sync_message_cb (GstBus *bus, GstMessage *message,
if (gst_structure_has_name (s, "prepare-xwindow-id"))
{
- g_assert (GTK_WIDGET_REALIZED (GTK_WIDGET (self)));
+ g_assert (gtk_widget_get_realized (GTK_WIDGET (self)));
gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (priv->overlay),
GDK_WINDOW_XID (gtk_widget_get_window (GTK_WIDGET (self))));
}