summaryrefslogtreecommitdiff
path: root/plugins/statusbar-date/eom-statusbar-date-plugin.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 22:28:15 +0300
committermonsta <[email protected]>2016-11-21 22:28:15 +0300
commit9a94231819bbfaf23e477dc27c3966903ebdf1e1 (patch)
tree643b864764f69ce556ceeac785a2ed6e6f7c44d2 /plugins/statusbar-date/eom-statusbar-date-plugin.c
parente85aca3ba0c5f59b12fd557285cc74dbbb8bf909 (diff)
downloadeom-9a94231819bbfaf23e477dc27c3966903ebdf1e1.tar.bz2
eom-9a94231819bbfaf23e477dc27c3966903ebdf1e1.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmate-desktop >= 1.17
Diffstat (limited to 'plugins/statusbar-date/eom-statusbar-date-plugin.c')
-rw-r--r--plugins/statusbar-date/eom-statusbar-date-plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/statusbar-date/eom-statusbar-date-plugin.c b/plugins/statusbar-date/eom-statusbar-date-plugin.c
index 7862adb..ee0e648 100644
--- a/plugins/statusbar-date/eom-statusbar-date-plugin.c
+++ b/plugins/statusbar-date/eom-statusbar-date-plugin.c
@@ -125,10 +125,8 @@ static void impl_activate(EomPlugin* plugin, EomWindow* window)
data = g_new(WindowData, 1);
data->statusbar_date = gtk_statusbar_new();
gtk_widget_set_size_request(data->statusbar_date, 200, 10);
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_margin_top (GTK_WIDGET (data->statusbar_date), 0);
gtk_widget_set_margin_bottom (GTK_WIDGET (data->statusbar_date), 0);
-#endif
gtk_box_pack_end(GTK_BOX(statusbar), data->statusbar_date, FALSE, FALSE, 0);
data->signal_id = g_signal_connect_after(G_OBJECT(thumbview), "selection_changed", G_CALLBACK(selection_changed_cb), data);