From 163c4941bbe525fee986854844c54c67b8c85a19 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Thu, 11 Feb 2016 07:55:31 +0100 Subject: GTK+3 fish: Removed unused and deprecated variables/functions taken from: https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-0&id=06ba8ba --- applets/fish/fish.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applets/fish/fish.c b/applets/fish/fish.c index 8986e9e1..fc729e9a 100644 --- a/applets/fish/fish.c +++ b/applets/fish/fish.c @@ -1482,8 +1482,10 @@ static gboolean fish_applet_expose_event(GtkWidget* widget, GdkEventExpose* even #endif { GdkWindow *window; +#if !GTK_CHECK_VERSION (3, 0, 0) GtkStyle *style; GtkStateType state; +#endif int width, height; int src_x, src_y; @@ -1496,8 +1498,10 @@ 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) style = gtk_widget_get_style (widget); state = gtk_widget_get_state (widget); +#endif #if GTK_CHECK_VERSION(3, 0, 0) width = cairo_xlib_surface_get_width (fish->surface); -- cgit v1.2.1