summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/themes/coco/coco-theme.c8
-rw-r--r--src/themes/nodoka/nodoka-theme.c10
-rw-r--r--src/themes/slider/theme.c8
-rw-r--r--src/themes/standard/theme.c8
4 files changed, 17 insertions, 17 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index ab817a4..7f61561 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -549,7 +549,7 @@ create_notification(UrlClickedCb url_clicked)
windata->summary_label = gtk_label_new(NULL);
gtk_widget_show(windata->summary_label);
gtk_box_pack_start(GTK_BOX(vbox), windata->summary_label, FALSE, FALSE, 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
@@ -563,7 +563,7 @@ create_notification(UrlClickedCb url_clicked)
windata->body_label = gtk_label_new(NULL);
gtk_box_pack_start(GTK_BOX(vbox), windata->body_label, FALSE, FALSE, 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
@@ -709,7 +709,7 @@ add_notification_action(GtkWindow *nw, const char *text, const char *key,
GtkWidget *image = gtk_image_new_from_pixbuf(pixbuf);
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
@@ -720,7 +720,7 @@ add_notification_action(GtkWindow *nw, const char *text, const char *key,
label = gtk_label_new(NULL);
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);
diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c
index 396b9fd..5c75eab 100644
--- a/src/themes/nodoka/nodoka-theme.c
+++ b/src/themes/nodoka/nodoka-theme.c
@@ -898,7 +898,7 @@ create_notification(UrlClickedCb url_clicked)
windata->summary_label = gtk_label_new(NULL);
gtk_widget_show(windata->summary_label);
gtk_box_pack_start(GTK_BOX(hbox), 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
@@ -942,7 +942,7 @@ create_notification(UrlClickedCb url_clicked)
windata->icon = gtk_image_new();
gtk_box_pack_start(GTK_BOX(windata->iconbox), windata->icon,
TRUE, TRUE, 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
@@ -955,7 +955,7 @@ create_notification(UrlClickedCb url_clicked)
windata->body_label = gtk_label_new(NULL);
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
@@ -1109,7 +1109,7 @@ add_notification_action(GtkWindow *nw, const char *text, const char *key,
GtkWidget *image = gtk_image_new_from_pixbuf(pixbuf);
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
@@ -1120,7 +1120,7 @@ add_notification_action(GtkWindow *nw, const char *text, const char *key,
label = gtk_label_new(NULL);
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);
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);
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c
index 09aa628..aaf1d85 100644
--- a/src/themes/standard/theme.c
+++ b/src/themes/standard/theme.c
@@ -721,7 +721,7 @@ GtkWindow* create_notification(UrlClickedCb url_clicked)
windata->summary_label = gtk_label_new(NULL);
gtk_widget_show(windata->summary_label);
gtk_box_pack_start(GTK_BOX(hbox), 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
@@ -783,7 +783,7 @@ GtkWindow* create_notification(UrlClickedCb url_clicked)
windata->body_label = gtk_label_new(NULL);
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
@@ -1070,7 +1070,7 @@ void add_notification_action(GtkWindow* nw, const char* text, const char* key, A
GtkWidget* image = gtk_image_new_from_pixbuf(pixbuf);
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
@@ -1081,7 +1081,7 @@ void add_notification_action(GtkWindow* nw, const char* text, const char* key, A
label = gtk_label_new(NULL);
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);