diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2010-04-03 13:27:35 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2010-04-18 19:52:01 (GMT) |
commit | 5d88c8943e14a0ca31af1dea86e743f869383567 (patch) | |
tree | d4ba1019911771528011440b61bf3986f8b3748f /gtk/engine/sugar-info.c | |
parent | 8b55bacf16c62534ecf05701557a0bb964c4c1b7 (diff) |
Do not use deprecated API #1899
Diffstat (limited to 'gtk/engine/sugar-info.c')
-rw-r--r-- | gtk/engine/sugar-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/engine/sugar-info.c b/gtk/engine/sugar-info.c index b4bf9c5..8d7832f 100644 --- a/gtk/engine/sugar-info.c +++ b/gtk/engine/sugar-info.c @@ -71,7 +71,7 @@ sugar_fill_range_info (SugarRangeInfo *range_info, gboolean trough) gdouble line_width = info->rc_style->line_width; if (info->widget) { - range_info->focused = GTK_WIDGET_HAS_FOCUS (info->widget); + range_info->focused = gtk_widget_has_focus (info->widget); } else { /* Fall back to unfocused and orientation from the width/height. */ range_info->focused = FALSE; |