summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-12-09 13:13:24 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-12-09 13:13:24 -0500
commita9b387b37b2221b2bc6e82fd0923ce0e88d802c6 (patch)
tree0356a3426bad29a3b685c072ac9c9694bff509ec
parent12f9883599caa552acca201242b50fffef849756 (diff)
downloadgtk+-a9b387b37b2221b2bc6e82fd0923ce0e88d802c6.tar.gz
tests: Silence a compiler warning
-rw-r--r--tests/testnotebookdnd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c
index 5bb1ce4458..32f2b97773 100644
--- a/tests/testnotebookdnd.c
+++ b/tests/testnotebookdnd.c
@@ -230,7 +230,6 @@ create_notebook_with_notebooks (const char **labels,
GtkPositionType pos)
{
GtkWidget *notebook, *title, *page;
- int count = 0;
notebook = gtk_notebook_new ();
g_signal_connect (notebook, "create-window",
@@ -251,7 +250,6 @@ create_notebook_with_notebooks (const char **labels,
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (notebook), page, TRUE);
gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (notebook), page, TRUE);
- count++;
labels++;
}