summaryrefslogtreecommitdiff
path: root/gtk/gtkcustompaperunixdialog.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-10-09 02:32:00 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-16 18:18:58 +0200
commit4df6ddad54d2cb6ebfdcbf2b6fee35ec4fa760b9 (patch)
tree0d6d46d38a70de6930e51d279c0eb50265a0a203 /gtk/gtkcustompaperunixdialog.c
parent1518fe0a8f0a973f013e21c185f38111d69d6ac7 (diff)
downloadgtk+-4df6ddad54d2cb6ebfdcbf2b6fee35ec4fa760b9.tar.gz
API: container: Remove gtk_container_set_border_width()
Diffstat (limited to 'gtk/gtkcustompaperunixdialog.c')
-rw-r--r--gtk/gtkcustompaperunixdialog.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk/gtkcustompaperunixdialog.c b/gtk/gtkcustompaperunixdialog.c
index ff6fa9f70c..375891e425 100644
--- a/gtk/gtkcustompaperunixdialog.c
+++ b/gtk/gtkcustompaperunixdialog.c
@@ -1021,7 +1021,7 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
{
GtkCustomPaperUnixDialogPrivate *priv = dialog->priv;
GtkDialog *cpu_dialog = GTK_DIALOG (dialog);
- GtkWidget *action_area, *content_area;
+ GtkWidget *content_area;
GtkWidget *grid, *label, *widget, *frame, *combo;
GtkWidget *hbox, *vbox, *treeview, *scrolled, *toolbar, *button;
GtkCellRenderer *cell;
@@ -1033,16 +1033,9 @@ populate_dialog (GtkCustomPaperUnixDialog *dialog)
GtkStyleContext *context;
content_area = gtk_dialog_get_content_area (cpu_dialog);
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- action_area = gtk_dialog_get_action_area (cpu_dialog);
-G_GNUC_END_IGNORE_DEPRECATIONS
- 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);
- gtk_box_set_spacing (GTK_BOX (action_area), 6);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 18);
- gtk_container_set_border_width (GTK_CONTAINER (hbox), 5);
gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE, TRUE);
gtk_widget_show (hbox);