summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/fish/fish.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index fc729e9a..35531b73 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -1481,8 +1481,8 @@ static gboolean fish_applet_draw(GtkWidget* widget, cairo_t *cr, FishApplet* fis
static gboolean fish_applet_expose_event(GtkWidget* widget, GdkEventExpose* event, FishApplet* fish)
#endif
{
- GdkWindow *window;
#if !GTK_CHECK_VERSION (3, 0, 0)
+ GdkWindow *window;
GtkStyle *style;
GtkStateType state;
#endif
@@ -1497,8 +1497,8 @@ static gboolean fish_applet_expose_event(GtkWidget* widget, GdkEventExpose* even
g_assert (fish->n_frames > 0);
- window = gtk_widget_get_window (widget);
#if !GTK_CHECK_VERSION (3, 0, 0)
+ window = gtk_widget_get_window (widget);
style = gtk_widget_get_style (widget);
state = gtk_widget_get_state (widget);
#endif