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 /examples | |
parent | 1518fe0a8f0a973f013e21c185f38111d69d6ac7 (diff) | |
download | gtk+-4df6ddad54d2cb6ebfdcbf2b6fee35ec4fa760b9.tar.gz |
API: container: Remove gtk_container_set_border_width()
Diffstat (limited to 'examples')
-rw-r--r-- | examples/action-namespace.c | 1 | ||||
-rw-r--r-- | examples/builder.ui | 1 | ||||
-rw-r--r-- | examples/drawing.c | 2 | ||||
-rw-r--r-- | examples/grid-packing.c | 1 | ||||
-rw-r--r-- | examples/plugman.c | 1 |
5 files changed, 0 insertions, 6 deletions
diff --git a/examples/action-namespace.c b/examples/action-namespace.c index 7335ad993e..6a4c84ed44 100644 --- a/examples/action-namespace.c +++ b/examples/action-namespace.c @@ -114,7 +114,6 @@ activate (GApplication *app, gtk_widget_set_halign (GTK_WIDGET (button), GTK_ALIGN_CENTER); gtk_widget_set_valign (GTK_WIDGET (button), GTK_ALIGN_START); gtk_container_add (GTK_CONTAINER (win), button); - gtk_container_set_border_width (GTK_CONTAINER (win), 12); gtk_widget_show_all (win); g_object_unref (button_menu); diff --git a/examples/builder.ui b/examples/builder.ui index 6321c93ca0..b9b5c2d145 100644 --- a/examples/builder.ui +++ b/examples/builder.ui @@ -2,7 +2,6 @@ <object id="window" class="GtkWindow"> <property name="visible">True</property> <property name="title">Grid</property> - <property name="border-width">10</property> <child> <object id="grid" class="GtkGrid"> <property name="visible">True</property> diff --git a/examples/drawing.c b/examples/drawing.c index a496bcabf4..2d4b9b47d2 100644 --- a/examples/drawing.c +++ b/examples/drawing.c @@ -142,8 +142,6 @@ activate (GtkApplication *app, g_signal_connect (window, "destroy", G_CALLBACK (close_window), NULL); - gtk_container_set_border_width (GTK_CONTAINER (window), 8); - frame = gtk_frame_new (NULL); gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN); gtk_container_add (GTK_CONTAINER (window), frame); diff --git a/examples/grid-packing.c b/examples/grid-packing.c index 2d9db4fb90..06cf95535c 100644 --- a/examples/grid-packing.c +++ b/examples/grid-packing.c @@ -18,7 +18,6 @@ activate (GtkApplication *app, /* create a new window, and set its title */ window = gtk_application_window_new (app); gtk_window_set_title (GTK_WINDOW (window), "Window"); - gtk_container_set_border_width (GTK_CONTAINER (window), 10); /* Here we construct the container that is going pack our buttons */ grid = gtk_grid_new (); diff --git a/examples/plugman.c b/examples/plugman.c index 04f0029367..82006d60e6 100644 --- a/examples/plugman.c +++ b/examples/plugman.c @@ -338,7 +338,6 @@ configure_plugins (GSimpleAction *action, gtk_builder_add_from_string (builder, "<interface>" " <object class='GtkDialog' id='plugin-dialog'>" - " <property name='border-width'>12</property>" " <property name='title'>Plugins</property>" " <child internal-child='vbox'>" " <object class='GtkBox' id='content-area'>" |