summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-27 22:40:13 +0300
committermonsta <[email protected]>2016-11-27 22:40:13 +0300
commitd4d259c91f19b223c1edfda25a2ac3790e743476 (patch)
tree28e59d3d55859e1575c7177bd98f5c3f0a9bfe83
parent31cde3f0645d2625f24daa303d995d91c45ac569 (diff)
downloadeom-d4d259c91f19b223c1edfda25a2ac3790e743476.tar.bz2
eom-d4d259c91f19b223c1edfda25a2ac3790e743476.tar.xz
EomScrollView: remove style_set
as done in: https://git.gnome.org/browse/eog/commit/?id=b099142374f277817e1f0c09c9ef743179184be1
-rw-r--r--src/eom-scroll-view.c14
1 files changed, 0 insertions, 14 deletions
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));
}