Fix up silly recusrsion typo in nsgtk_button_new_from_stock compatability
This commit is contained in:
parent
50f68b11a4
commit
85f90899ed
|
@ -480,7 +480,7 @@ GtkWidget *nsgtk_button_new_from_stock(const gchar *stock_id)
|
|||
#if GTK_CHECK_VERSION(3,10,0)
|
||||
return gtk_button_new_with_label(stock_id);
|
||||
#else
|
||||
return nsgtk_button_new_from_stock(stock_id);
|
||||
return gtk_button_new_from_stock(stock_id);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -488,7 +488,7 @@ GtkWidget *nsgtk_button_new_from_stock(const gchar *stock_id)
|
|||
gboolean nsgtk_stock_lookup(const gchar *stock_id, GtkStockItem *item)
|
||||
{
|
||||
#if GTK_CHECK_VERSION(3,10,0)
|
||||
return false;
|
||||
return FALSE;
|
||||
#else
|
||||
return gtk_stock_lookup(stock_id, item);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue