Fix a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jun 2012 17:07:47 +0000 (13:07 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jun 2012 17:07:47 +0000 (13:07 -0400)
This was introduced in the previous commit.

gtk/gtknotebook.c

index cf077c8e79606b3eff1cff0e5abede0de9468f83..54c079d2da392c62b0fb339831b691b912da5485 100644 (file)
@@ -4149,7 +4149,7 @@ focus_tabs_in (GtkNotebook *notebook)
   if (priv->show_tabs && priv->cur_page)
     {
       gtk_widget_grab_focus (GTK_WIDGET (notebook));
-      gtk_notebook_set_focus_child (notebook, NULL);
+      gtk_notebook_set_focus_child (GTK_CONTAINER (notebook), NULL);
       gtk_notebook_switch_focus_tab (notebook,
                                      g_list_find (priv->children,
                                                   priv->cur_page));