Commit bc389cff authored by Hib Eris's avatar Hib Eris Committed by Carlos Garcia Campos

glib-demo: Do not use deprecated gtk_dialog_set_has_separator()

Bug #45439
parent e52e3c24
......@@ -180,7 +180,9 @@ pgd_demo_get_auth_dialog (GFile *uri_file)
action_area = gtk_dialog_get_action_area (dialog);
/* Set the dialog up with HIG properties */
#if !GTK_CHECK_VERSION (2, 22, 0)
gtk_dialog_set_has_separator (dialog, FALSE);
#endif
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (content_area), 2); /* 2 * 5 + 2 = 12 */
gtk_container_set_border_width (GTK_CONTAINER (action_area), 5);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment