[gtk+] gtkstacksidebar: fix missing macro



commit 7ef7873b231373cfbc499154be3a288deecdb639
Author: Carlos Soriano <csoriano gnome org>
Date:   Sat Mar 14 13:34:40 2015 +0100

    gtkstacksidebar: fix missing macro
    
    commit e41cadd835f9c2 forgot to change some macros.

 gtk/gtkstacksidebar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstacksidebar.c b/gtk/gtkstacksidebar.c
index cedc104..df96f37 100644
--- a/gtk/gtkstacksidebar.c
+++ b/gtk/gtkstacksidebar.c
@@ -482,7 +482,7 @@ gtk_stack_sidebar_set_stack (GtkStackSidebar *sidebar,
 {
   GtkStackSidebarPrivate *priv;
 
-  g_return_if_fail (GTK_IS_SIDEBAR (sidebar));
+  g_return_if_fail (GTK_IS_STACK_SIDEBAR (sidebar));
   g_return_if_fail (GTK_IS_STACK (stack) || stack == NULL);
 
   priv = gtk_stack_sidebar_get_instance_private (sidebar);
@@ -525,7 +525,7 @@ gtk_stack_sidebar_get_stack (GtkStackSidebar *sidebar)
 {
   GtkStackSidebarPrivate *priv;
 
-  g_return_val_if_fail (GTK_IS_SIDEBAR (sidebar), NULL);
+  g_return_val_if_fail (GTK_IS_STACK_SIDEBAR (sidebar), NULL);
 
   priv = gtk_stack_sidebar_get_instance_private (sidebar);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]