summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghbcellrenderertext.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-22 01:03:17 +0000
committerjstebbins <[email protected]>2011-03-22 01:03:17 +0000
commit0bbe89324d25c6e1e6ca68198dfe2356175dcf8f (patch)
tree48e736f482f20268adb7dccde191835c1d37dfe5 /gtk/src/ghbcellrenderertext.c
parent8db28e9250ffaee1b6b8c1d7e60aeee9b9466dba (diff)
LinGui: Remove use of deprecated GTK_WIDGET_SENSITIVE and GTK_WIDGET_HAS_FOCUS
Replace with gtk_widget_is_sensitive and gtk_widget_has_focus git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3861 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghbcellrenderertext.c')
-rw-r--r--gtk/src/ghbcellrenderertext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/ghbcellrenderertext.c b/gtk/src/ghbcellrenderertext.c
index 0da8b3c8b..6a3a0d26d 100644
--- a/gtk/src/ghbcellrenderertext.c
+++ b/gtk/src/ghbcellrenderertext.c
@@ -1666,7 +1666,7 @@ ghb_cell_renderer_text_render (GtkCellRenderer *cell,
}
else if ((flags & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED)
{
- if (GTK_WIDGET_HAS_FOCUS (widget))
+ if (gtk_widget_has_focus (widget))
state = GTK_STATE_SELECTED;
else
state = GTK_STATE_ACTIVE;
@@ -1787,7 +1787,7 @@ popdown_timeout (gpointer data)
priv->entry_menu_popdown_timeout = 0;
- if (!GTK_WIDGET_HAS_FOCUS (priv->entry))
+ if (!gtk_widget_has_focus (priv->entry))
ghb_cell_renderer_text_editing_done (GTK_CELL_EDITABLE (priv->entry), data);
return FALSE;