summaryrefslogtreecommitdiff
path: root/src/eom-thumb-view.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 15:59:24 +0300
committermonsta <[email protected]>2016-02-01 16:12:10 +0300
commit83cd3ac26d0f937d625a228a564bd735fae568b2 (patch)
treec87cd90739f9b2f20b99b1e96eb92db8bce205ce /src/eom-thumb-view.c
parentbe98824189cc7d5aea0ac4473e49ea42eb687d78 (diff)
downloadeom-83cd3ac26d0f937d625a228a564bd735fae568b2.tar.bz2
eom-83cd3ac26d0f937d625a228a564bd735fae568b2.tar.xz
fix build warnings and remove useless nested #if
Diffstat (limited to 'src/eom-thumb-view.c')
-rw-r--r--src/eom-thumb-view.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/eom-thumb-view.c b/src/eom-thumb-view.c
index 7eabe9d..f3cea08 100644
--- a/src/eom-thumb-view.c
+++ b/src/eom-thumb-view.c
@@ -206,9 +206,7 @@ eom_thumb_view_dispose (GObject *object)
static void
eom_thumb_view_finalize (GObject *object)
{
- EomThumbView *thumbview;
g_return_if_fail (EOM_IS_THUMB_VIEW (object));
- thumbview = EOM_THUMB_VIEW (object);
G_OBJECT_CLASS (eom_thumb_view_parent_class)->finalize (object);
}
@@ -220,9 +218,7 @@ eom_thumb_view_destroy (GtkWidget *object)
eom_thumb_view_destroy (GtkObject *object)
#endif
{
- EomThumbView *thumbview;
g_return_if_fail (EOM_IS_THUMB_VIEW (object));
- thumbview = EOM_THUMB_VIEW (object);
#if GTK_CHECK_VERSION(3, 0, 0)
GTK_WIDGET_CLASS (eom_thumb_view_parent_class)->destroy (object);
@@ -264,9 +260,7 @@ eom_thumb_view_set_property (GObject *object,
{
case PROP_ORIENTATION:
view->priv->orientation = g_value_get_enum (value);
-#if GTK_CHECK_VERSION (3, 4, 3)
eom_thumb_view_update_columns (view);
-#endif
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);