diff options
Diffstat (limited to 'tests/testnotebookdnd.c')
-rw-r--r-- | tests/testnotebookdnd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testnotebookdnd.c b/tests/testnotebookdnd.c index 04a4aef5dc..6c760dbae6 100644 --- a/tests/testnotebookdnd.c +++ b/tests/testnotebookdnd.c @@ -79,8 +79,8 @@ window_creation_function (GtkNotebook *source_notebook, window = gtk_window_new (GTK_WINDOW_TOPLEVEL); notebook = gtk_notebook_new (); - gtk_notebook_set_group (GTK_NOTEBOOK (notebook), - gtk_notebook_get_group (source_notebook)); + gtk_notebook_set_group_name (GTK_NOTEBOOK (notebook), + gtk_notebook_get_group_name (source_notebook)); gtk_container_add (GTK_CONTAINER (window), notebook); @@ -142,7 +142,7 @@ on_button_drag_data_received (GtkWidget *widget, static GtkWidget* create_notebook (gchar **labels, - gpointer group, + const gchar *group, gint packing, GtkPositionType pos) { @@ -154,7 +154,7 @@ create_notebook (gchar **labels, gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook), pos); gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE); gtk_container_set_border_width (GTK_CONTAINER (notebook), 6); - gtk_notebook_set_group (GTK_NOTEBOOK (notebook), group); + gtk_notebook_set_group_name (GTK_NOTEBOOK (notebook), group); while (*labels) { @@ -184,7 +184,7 @@ create_notebook (gchar **labels, static GtkWidget* create_notebook_with_notebooks (gchar **labels, - gpointer group, + const gchar *group, gint packing, GtkPositionType pos) { @@ -196,7 +196,7 @@ create_notebook_with_notebooks (gchar **labels, gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook), pos); gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE); gtk_container_set_border_width (GTK_CONTAINER (notebook), 6); - gtk_notebook_set_group (GTK_NOTEBOOK (notebook), group); + gtk_notebook_set_group_name (GTK_NOTEBOOK (notebook), group); while (*labels) { |