diff options
-rw-r--r-- | polkitgtkmate/example.c | 6 | ||||
-rw-r--r-- | src/polkitmateauthenticationdialog.c | 12 |
2 files changed, 9 insertions, 9 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 diff --git a/src/polkitmateauthenticationdialog.c b/src/polkitmateauthenticationdialog.c index 391a915..0a9c6fe 100644 --- a/src/polkitmateauthenticationdialog.c +++ b/src/polkitmateauthenticationdialog.c @@ -519,7 +519,7 @@ add_row (GtkWidget *table, int row, const char *label_text, GtkWidget *entry) label = gtk_label_new_with_mnemonic (label_text); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); -#if GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 16, 0) gtk_label_set_xalign (GTK_LABEL (label), 1.0); gtk_label_set_yalign (GTK_LABEL (label), 0.5); #else @@ -693,7 +693,7 @@ polkit_mate_authentication_dialog_constructed (GObject *object) s = g_strdup_printf ("<big><b>%s</b></big>", dialog->priv->message); gtk_label_set_markup (GTK_LABEL (label), s); g_free (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 @@ -728,7 +728,7 @@ polkit_mate_authentication_dialog_constructed (GObject *object) "Authentication as the super user is required to perform this action.")); } } -#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 @@ -826,7 +826,7 @@ polkit_mate_authentication_dialog_constructed (GObject *object) s = g_strdup_printf ("<small>%s</small>", value); gtk_label_set_markup (GTK_LABEL (label), s); g_free (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), 1.0); #else @@ -850,7 +850,7 @@ polkit_mate_authentication_dialog_constructed (GObject *object) dialog->priv->action_id); gtk_label_set_markup (GTK_LABEL (label), s); g_free (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), 1.0); #else @@ -872,7 +872,7 @@ polkit_mate_authentication_dialog_constructed (GObject *object) dialog->priv->vendor); gtk_label_set_markup (GTK_LABEL (label), s); g_free (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), 1.0); #else |