summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-07-05 13:52:15 +0300
committerAntónio Fernandes <antoniof@gnome.org>2021-11-22 20:35:54 +0000
commit497c16a69dc08d5e1c5f30d635ef425e2650bac8 (patch)
treee9542af0ecfa5dfcc50c17c403b782e622937293 /test
parent9d3a12c38d49b1e9f8920932d9468b3bddef392a (diff)
downloadnautilus-497c16a69dc08d5e1c5f30d635ef425e2650bac8.tar.gz
general: Drop uses of GtkContainer:border-width
In preparation for porting to GTK4. Rebased and ammeded by António Fernandes <antoniof@gnome.org>
Diffstat (limited to 'test')
-rw-r--r--test/interactive/test-copy.c2
-rw-r--r--test/interactive/test.c5
-rw-r--r--test/interactive/test.h3
3 files changed, 3 insertions, 7 deletions
diff --git a/test/interactive/test-copy.c b/test/interactive/test-copy.c
index 194eda444..d48182ebd 100644
--- a/test/interactive/test-copy.c
+++ b/test/interactive/test-copy.c
@@ -68,7 +68,7 @@ main (int argc,
dest = g_file_new_for_commandline_arg (argv[i]);
- window = test_window_new ("copy test", 5);
+ window = test_window_new ("copy test");
gtk_widget_show (window);
diff --git a/test/interactive/test.c b/test/interactive/test.c
index 43e8fbc43..34a5fa8c4 100644
--- a/test/interactive/test.c
+++ b/test/interactive/test.c
@@ -31,8 +31,7 @@ test_delete_event (GtkWidget *widget,
}
GtkWidget *
-test_window_new (const char *title,
- guint border_width)
+test_window_new (const char *title)
{
GtkWidget *window;
@@ -46,8 +45,6 @@ test_window_new (const char *title,
g_signal_connect (window, "delete_event",
G_CALLBACK (test_delete_event), NULL);
- gtk_container_set_border_width (GTK_CONTAINER (window), border_width);
-
return window;
}
diff --git a/test/interactive/test.h b/test/interactive/test.h
index fc20a7727..b8ce09a23 100644
--- a/test/interactive/test.h
+++ b/test/interactive/test.h
@@ -13,8 +13,7 @@ int test_quit (int ex
void test_delete_event (GtkWidget *widget,
GdkEvent *event,
gpointer callback_data);
-GtkWidget *test_window_new (const char *title,
- guint border_width);
+GtkWidget *test_window_new (const char *title);
void test_gtk_widget_set_background_image (GtkWidget *widget,
const char *image_name);
void test_gtk_widget_set_background_color (GtkWidget *widget,