From 13c840260fcdff47dde9670e6ce2f1f3bd33b08e Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 5 Oct 2015 16:01:29 +0300 Subject: themes: check for GTK+3 release, not dev version --- src/themes/slider/theme.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/themes/slider') diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index e06bee6..e2d6cef 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -720,7 +720,7 @@ GtkWindow* create_notification(UrlClickedCb url_clicked) #endif gtk_widget_show(windata->summary_label); gtk_box_pack_start(GTK_BOX(vbox), windata->summary_label, TRUE, TRUE, 0); -#if GTK_CHECK_VERSION (3, 15, 2) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (windata->summary_label), 0.0); gtk_label_set_yalign (GTK_LABEL (windata->summary_label), 0.0); #else @@ -751,7 +751,7 @@ GtkWindow* create_notification(UrlClickedCb url_clicked) #endif gtk_widget_show(windata->body_label); gtk_box_pack_start(GTK_BOX(vbox), windata->body_label, TRUE, TRUE, 0); -#if GTK_CHECK_VERSION (3, 15, 2) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (windata->body_label), 0.0); gtk_label_set_yalign (GTK_LABEL (windata->body_label), 0.0); #else @@ -1106,7 +1106,7 @@ void add_notification_action(GtkWindow* nw, const char* text, const char* key, A #endif gtk_widget_show(image); gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); -#if GTK_CHECK_VERSION (3, 15, 2) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_widget_set_halign (image, GTK_ALIGN_CENTER); gtk_widget_set_valign (image, GTK_ALIGN_CENTER); #else @@ -1122,7 +1122,7 @@ void add_notification_action(GtkWindow* nw, const char* text, const char* key, A #endif gtk_widget_show(label); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); -#if GTK_CHECK_VERSION (3, 15, 2) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); -- cgit v1.2.1