diff options
author | raveit65 <[email protected]> | 2015-09-02 00:30:06 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-06 13:08:32 +0200 |
commit | c4903b39269fc9c8a4524a5eeddbf872e41dba08 (patch) | |
tree | 16e65926921cefaec2ecf4ba1c27a0b9b9e57e7d /src/eom-window.c | |
parent | 9b6649abf3047657e9a95223e98acfb1455ef9e7 (diff) | |
download | eom-c4903b39269fc9c8a4524a5eeddbf872e41dba08.tar.bz2 eom-c4903b39269fc9c8a4524a5eeddbf872e41dba08.tar.xz |
Gtk3: Remove deprecated, unneeded and now effect-less GtkStyle-usage
This stuff wasn't needed anymore since we dropped the GtkFrame as
parent for the EogScrollView widget. Also it didn't have any effect
at all in GTK+-3. Fixes more build warnings because of deprecations.
Taken from:
https://git.gnome.org/browse/eog/commit/?id=f9a5ec6
Diffstat (limited to 'src/eom-window.c')
-rw-r--r-- | src/eom-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c index 4645c83..6560d81 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -2065,6 +2065,7 @@ eom_window_run_fullscreen (EomWindow *window, gboolean slideshow) eom_scroll_view_override_bg_color (EOM_SCROLL_VIEW (window->priv->view), &(gtk_widget_get_style (GTK_WIDGET (window))->black)); +#if !GTK_CHECK_VERSION (3, 0, 0) { GtkStyle *style; @@ -2078,6 +2079,7 @@ eom_window_run_fullscreen (EomWindow *window, gboolean slideshow) g_object_unref (style); } +#endif gtk_window_fullscreen (GTK_WINDOW (window)); eom_window_update_fullscreen_popup (window); |