1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/audio/muine/files/patch-libmuine_rb-cell-renderer-pixbuf.c
Cy Schubert a173081983 Return audio/muine back to the living and fix the compile time issue that
precipitated its removal.

Feature safe:	yes
2012-04-02 19:16:57 +00:00

23 lines
604 B
C

$FreeBSD$
--- libmuine/rb-cell-renderer-pixbuf.c.orig
+++ libmuine/rb-cell-renderer-pixbuf.c
@@ -295,14 +295,14 @@
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;
}
else
{
- if (GTK_WIDGET_STATE (widget) == GTK_STATE_INSENSITIVE)
+ if (GTK_OBJECT_FLAGS (widget) == GTK_STATE_INSENSITIVE)
state = GTK_STATE_INSENSITIVE;
else
state = GTK_STATE_NORMAL;