/* * * sushivision copyright (C) 2006-2007 Monty * * sushivision is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * sushivision is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with sushivision; see the file COPYING. If not, write to the * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * * */ #ifndef _GTK_SUCKS_H_ #define _GTK_SUCKS_H_ extern void _gtk_widget_set_sensitive_fixup(GtkWidget *w, gboolean state); extern void _gtk_widget_remove_events (GtkWidget *widget, gint events); extern void _gtk_button3_fixup(void); extern GtkWidget *_gtk_menu_new_twocol(GtkWidget *bind, _sv_propmap_t **items, void *callback_data); extern GtkWidget *_gtk_menu_get_item(GtkMenu *m, int pos); extern int _gtk_menu_item_position(GtkWidget *w); extern void _gtk_menu_alter_item_label(GtkMenu *m, int pos, char *text); extern void _gtk_menu_alter_item_right(GtkMenu *m, int pos, char *text); extern GtkWidget * _gtk_combo_box_new_markup (void); extern void _gtk_box_freeze_child (GtkBox *box, GtkWidget *child); extern void _gtk_box_unfreeze_child (GtkBox *box, GtkWidget *child); extern void _gtk_mutex_fixup(void); extern void _gdk_lock(void); extern void _gdk_unlock(void); #endif