diff options
author | monsta <[email protected]> | 2016-11-27 22:40:13 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-27 22:40:13 +0300 |
commit | d4d259c91f19b223c1edfda25a2ac3790e743476 (patch) | |
tree | 28e59d3d55859e1575c7177bd98f5c3f0a9bfe83 /src/eom-scroll-view.c | |
parent | 31cde3f0645d2625f24daa303d995d91c45ac569 (diff) | |
download | eom-d4d259c91f19b223c1edfda25a2ac3790e743476.tar.bz2 eom-d4d259c91f19b223c1edfda25a2ac3790e743476.tar.xz |
EomScrollView: remove style_set
as done in:
https://git.gnome.org/browse/eog/commit/?id=b099142374f277817e1f0c09c9ef743179184be1
Diffstat (limited to 'src/eom-scroll-view.c')
-rw-r--r-- | src/eom-scroll-view.c | 14 |
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)); } |