aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
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))));
}