diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-11-13 06:29:35 +0100 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2009-11-17 10:53:40 +1100 |
commit | 6f9fe3b417a3870ce48288f1273843af05d39624 (patch) | |
tree | bf9836bcf0e67793ee18e3beca4835880ed656aa /libempathy-gtk/empathy-status-preset-dialog.c | |
parent | e836a987945a601d70082eef2c6f2fd6796c4fd3 (diff) |
Use accessor functions instead direct access.
Some functions still remaining because there is not API
in GTK+ 2.19.0 yet.
http://bugzilla.gnome.org/show_bug.cgi?id=586476
Reviewed-By: Danielle Madeley <danielle.madeley@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk/empathy-status-preset-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-status-preset-dialog.c | 2 |
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 0337d16a..4a4893b5 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); |