summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererpixbuf.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2005-02-04 22:17:11 +0000
committerManish Singh <yosh@src.gnome.org>2005-02-04 22:17:11 +0000
commitcbf21238c305ba944a7b4ed1707329391b095ef2 (patch)
tree34c0b4a540063b3b78327c2e4ed67cb1293185bd /gtk/gtkcellrendererpixbuf.c
parent8ccd6cba27319ccb9c86af6a616886fb1e115684 (diff)
downloadgtk+-cbf21238c305ba944a7b4ed1707329391b095ef2.tar.gz
remove unused function.
Fri Feb 4 14:16:31 2005 Manish Singh <yosh@gimp.org> * gtk/gtkaccelgroup.c (substitute_underscores): remove unused function. * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Add some extra parens for bitop order of operations disambiguiation. * gtk/gtkstock.c: Fix const confusion, make our own copy of the domain when setting a translate function. * tests/testcombo.c: removed unused variable.
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r--gtk/gtkcellrendererpixbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 0fe48c0164..b4600f2666 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -575,11 +575,11 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
pixbuf = invisible;
}
else if (priv->follow_state &&
- (flags & (GTK_CELL_RENDERER_SELECTED|GTK_CELL_RENDERER_PRELIT) != 0))
+ (flags & (GTK_CELL_RENDERER_SELECTED|GTK_CELL_RENDERER_PRELIT)) != 0)
{
GtkStateType state;
- if (flags & GTK_CELL_RENDERER_SELECTED != 0)
+ if ((flags & GTK_CELL_RENDERER_SELECTED) != 0)
{
if (GTK_WIDGET_HAS_FOCUS (widget))
state = GTK_STATE_SELECTED;