diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-01-20 15:26:21 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-20 15:26:21 +0100 |
commit | ab7ffa9b7a03628519474736bd5354c8908600b4 (patch) | |
tree | 353f5ab12e1afd093a7287912194e0be78e063de /polkitgtkmate | |
parent | d517ddf7ec16e07187ef393e9bc700b25ad7ce3a (diff) | |
download | mate-polkit-ab7ffa9b7a03628519474736bd5354c8908600b4.tar.bz2 mate-polkit-ab7ffa9b7a03628519474736bd5354c8908600b4.tar.xz |
fix conditions for GtkMisc deprecations
Diffstat (limited to 'polkitgtkmate')
-rw-r--r-- | polkitgtkmate/example.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polkitgtkmate/example.c b/polkitgtkmate/example.c index e6786c1..f5c9f0a 100644 --- a/polkitgtkmate/example.c +++ b/polkitgtkmate/example.c @@ -125,7 +125,7 @@ int main(int argc, char* argv[]) s = g_strdup_printf("Showing PolkitLockButton for action id: %s", action_id); label = gtk_label_new(s); -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 0.0); gtk_label_set_yalign (GTK_LABEL (label), 0.5); #else @@ -136,7 +136,7 @@ int main(int argc, char* argv[]) g_free(s); label = gtk_label_new(NULL); -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 0.0); gtk_label_set_yalign (GTK_LABEL (label), 0.5); #else @@ -147,7 +147,7 @@ int main(int argc, char* argv[]) system_bus_name_authorized_label = label; label = gtk_label_new(NULL); -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 0.0); gtk_label_set_yalign (GTK_LABEL (label), 0.5); #else |