From 0c27d18ab5efb721a2f02549767016c81fc6ce2c Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 2 Dec 2016 00:45:36 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require libmatekbd, libmate-desktop, marco, m-s-d >= 1.17 --- capplets/about-me/eel-alert-dialog.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'capplets/about-me/eel-alert-dialog.c') diff --git a/capplets/about-me/eel-alert-dialog.c b/capplets/about-me/eel-alert-dialog.c index 9fd4d52e..cbf28edf 100644 --- a/capplets/about-me/eel-alert-dialog.c +++ b/capplets/about-me/eel-alert-dialog.c @@ -159,12 +159,8 @@ eel_alert_dialog_init (EelAlertDialog *dialog) dialog->details->secondary_label = gtk_label_new (NULL); dialog->details->details_label = gtk_label_new (NULL); dialog->details->image = gtk_image_new_from_stock (NULL, GTK_ICON_SIZE_DIALOG); -#if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_set_halign (dialog->details->image, GTK_ALIGN_CENTER); gtk_widget_set_valign (dialog->details->image, GTK_ALIGN_START); -#else - gtk_misc_set_alignment (GTK_MISC (dialog->details->image), 0.5, 0.0); -#endif gtk_label_set_line_wrap (GTK_LABEL (dialog->details->primary_label), TRUE); gtk_label_set_selectable (GTK_LABEL (dialog->details->primary_label), TRUE); @@ -191,21 +187,13 @@ eel_alert_dialog_init (EelAlertDialog *dialog) gtk_misc_set_alignment (GTK_MISC (dialog->details->details_label), 0.0, 0.5); #endif -#if GTK_CHECK_VERSION (3, 0, 0) hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); -#else - hbox = gtk_hbox_new (FALSE, 12); -#endif gtk_container_set_border_width (GTK_CONTAINER (hbox), 5); gtk_box_pack_start (GTK_BOX (hbox), dialog->details->image, FALSE, FALSE, 0); -#if GTK_CHECK_VERSION (3, 0, 0) vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); -#else - vbox = gtk_vbox_new (FALSE, 12); -#endif gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0); -- cgit v1.2.1