diff options
author | Benjamin Otte <otte@redhat.com> | 2016-10-09 02:32:00 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-16 18:18:58 +0200 |
commit | 4df6ddad54d2cb6ebfdcbf2b6fee35ec4fa760b9 (patch) | |
tree | 0d6d46d38a70de6930e51d279c0eb50265a0a203 /demos/gtk-demo/dialog.c | |
parent | 1518fe0a8f0a973f013e21c185f38111d69d6ac7 (diff) | |
download | gtk+-4df6ddad54d2cb6ebfdcbf2b6fee35ec4fa760b9.tar.gz |
API: container: Remove gtk_container_set_border_width()
Diffstat (limited to 'demos/gtk-demo/dialog.c')
-rw-r--r-- | demos/gtk-demo/dialog.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/demos/gtk-demo/dialog.c b/demos/gtk-demo/dialog.c index a632519717..362e27e1f6 100644 --- a/demos/gtk-demo/dialog.c +++ b/demos/gtk-demo/dialog.c @@ -56,7 +56,6 @@ interactive_dialog_clicked (GtkButton *button, content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8); - gtk_container_set_border_width (GTK_CONTAINER (hbox), 8); gtk_box_pack_start (GTK_BOX (content_area), hbox, FALSE, FALSE); image = gtk_image_new_from_icon_name ("dialog-question", GTK_ICON_SIZE_DIALOG); @@ -114,13 +113,10 @@ do_dialog (GtkWidget *do_widget) g_signal_connect (window, "destroy", G_CALLBACK (gtk_widget_destroyed), &window); - gtk_container_set_border_width (GTK_CONTAINER (window), 8); - frame = gtk_frame_new ("Dialogs"); gtk_container_add (GTK_CONTAINER (window), frame); vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8); - gtk_container_set_border_width (GTK_CONTAINER (vbox), 8); gtk_container_add (GTK_CONTAINER (frame), vbox); /* Standard message dialog */ |