Fix up silly recusrsion typo in nsgtk_button_new_from_stock compatability

This commit is contained in:
Vincent Sanders 2015-04-10 00:24:01 +01:00
parent 50f68b11a4
commit 85f90899ed
1 changed files with 2 additions and 2 deletions

View File

@ -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