[gtk] Fix the compiler warning, again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Fix the compiler warning, again
- Date: Tue, 7 May 2019 14:58:38 +0000 (UTC)
commit 4ff578db10fe01de662e478ffd5f9ff205e89074
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 7 14:57:53 2019 +0000
Fix the compiler warning, again
gtk/a11y/gtknotebookpageaccessible.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gtk/a11y/gtknotebookpageaccessible.c b/gtk/a11y/gtknotebookpageaccessible.c
index 1b90353029..dcdfe16f03 100644
--- a/gtk/a11y/gtknotebookpageaccessible.c
+++ b/gtk/a11y/gtknotebookpageaccessible.c
@@ -244,7 +244,6 @@ gtk_notebook_page_accessible_new (GtkNotebookAccessible *notebook,
AtkObject *atk_object;
GtkNotebookPageAccessible *page;
GtkNotebook *nb;
- GtkWidget *notebook_page;
g_return_val_if_fail (GTK_IS_NOTEBOOK_ACCESSIBLE (notebook), NULL);
g_return_val_if_fail (GTK_WIDGET (child), NULL);
@@ -261,9 +260,8 @@ gtk_notebook_page_accessible_new (GtkNotebookAccessible *notebook,
atk_object_set_parent (gtk_widget_get_accessible (child), atk_object);
nb = GTK_NOTEBOOK (gtk_accessible_get_widget (page->priv->notebook));
- notebook_page = GTK_NOTEBOOK_PAGE (gtk_notebook_get_page (nb, child));
- g_signal_connect (notebook_page,
+ g_signal_connect (gtk_notebook_get_page (nb, child),
"notify::tab-label",
G_CALLBACK (notify_tab_label), page);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]