Mercurial > geeqie
diff src/ui_menu.h @ 1448:89dedc61b1bd
gint -> gboolean.
author | zas_ |
---|---|
date | Sun, 15 Mar 2009 20:16:20 +0000 |
parents | 8b89e3ff286b |
children | 0806ccdfe06b |
line wrap: on
line diff
--- a/src/ui_menu.h Sun Mar 15 18:41:25 2009 +0000 +++ b/src/ui_menu.h Sun Mar 15 20:16:20 2009 +0000 @@ -19,14 +19,14 @@ GCallback func, gpointer data); GtkWidget *menu_item_add_stock(GtkWidget *menu, const gchar *label, const gchar *stock_id, GCallback func, gpointer data); -GtkWidget *menu_item_add_sensitive(GtkWidget *menu, const gchar *label, gint sensitive, +GtkWidget *menu_item_add_sensitive(GtkWidget *menu, const gchar *label, gboolean sensitive, GCallback func, gpointer data); -GtkWidget *menu_item_add_stock_sensitive(GtkWidget *menu, const gchar *label, const gchar *stock_id, gint sensitive, +GtkWidget *menu_item_add_stock_sensitive(GtkWidget *menu, const gchar *label, const gchar *stock_id, gboolean sensitive, GCallback func, gpointer data); -GtkWidget *menu_item_add_check(GtkWidget *menu, const gchar *label, gint active, +GtkWidget *menu_item_add_check(GtkWidget *menu, const gchar *label, gboolean active, GCallback func, gpointer data); GtkWidget *menu_item_add_radio(GtkWidget *menu, GtkWidget *parent, - const gchar *label, gint active, + const gchar *label, gboolean active, GCallback func, gpointer data); void menu_item_add_divider(GtkWidget *menu); @@ -39,7 +39,7 @@ /* clamp a menu's position to within the screen * if menu will attempt to stay out of region y to y+height */ -gint popup_menu_position_clamp(GtkMenu *menu, gint *x, gint *y, gint height); +gboolean popup_menu_position_clamp(GtkMenu *menu, gint *x, gint *y, gint height); #endif