From d4d259c91f19b223c1edfda25a2ac3790e743476 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 27 Nov 2016 22:40:13 +0300 Subject: EomScrollView: remove style_set as done in: https://git.gnome.org/browse/eog/commit/?id=b099142374f277817e1f0c09c9ef743179184be1 --- src/eom-scroll-view.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c index 914541d..4ab1a11 100644 --- a/src/eom-scroll-view.c +++ b/src/eom-scroll-view.c @@ -977,19 +977,6 @@ eom_scroll_view_button_press_event (GtkWidget *widget, GdkEventButton *event, gp return FALSE; } -static void -eom_scroll_view_style_set (GtkWidget *widget, GtkStyle *old_style) -{ - GtkStyle *style; - EomScrollViewPrivate *priv; - - style = gtk_widget_get_style (widget); - priv = EOM_SCROLL_VIEW (widget)->priv; - - gtk_widget_set_style (priv->display, style); -} - - /* Button release event handler for the image view */ static gboolean eom_scroll_view_button_release_event (GtkWidget *widget, GdkEventButton *event, gpointer data) @@ -2083,7 +2070,6 @@ eom_scroll_view_class_init (EomScrollViewClass *klass) G_TYPE_DOUBLE); widget_class->size_allocate = eom_scroll_view_size_allocate; - widget_class->style_set = eom_scroll_view_style_set; g_type_class_add_private (klass, sizeof (EomScrollViewPrivate)); } -- cgit v1.2.1