aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-status-preset-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-status-preset-dialog.c')
-rw-r--r--libempathy-gtk/empathy-status-preset-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-status-preset-dialog.c b/libempathy-gtk/empathy-status-preset-dialog.c
index 0337d16a3..4a4893b57 100644
--- a/libempathy-gtk/empathy-status-preset-dialog.c
+++ b/libempathy-gtk/empathy-status-preset-dialog.c
@@ -477,7 +477,7 @@ status_preset_dialog_add_combo_press_event (GtkWidget *widget,
GdkEventButton *event,
EmpathyStatusPresetDialog *self)
{
- if (!GTK_WIDGET_HAS_FOCUS (widget)) {
+ if (!gtk_widget_has_focus (widget)) {
/* if the widget isn't focused, focus it and select the text */
gtk_widget_grab_focus (widget);
gtk_editable_select_region (GTK_EDITABLE (widget), 0, -1);