Commit 57662236 authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

remove the option menu func since option menu is deprecated anyway


Thu Feb 19 20:33:26 2009  Jiri (George) Lebl <jirka@5z.com>

	* ve/ve-miscui.[ch]: remove the option menu func since option menu is
	  deprecated anyway

	* src/gnome-genius.c: use g_idle_add instead of gtk_idle_add


svn path=/trunk/; revision=727
parent c5add299
Thu Feb 19 20:33:26 2009 Jiri (George) Lebl <jirka@5z.com>
* ve/ve-miscui.[ch]: remove the option menu func since option menu is
deprecated anyway
* src/gnome-genius.c: use g_idle_add instead of gtk_idle_add
Wed Feb 18 00:28:12 2009 Jiri (George) Lebl <jirka@5z.com>
* src/gnome-genius.c: handle read only files properly. Also verify
......
......@@ -2694,7 +2694,7 @@ static void
setup_undo_redo (void)
{
if (ur_idle_id == 0) {
ur_idle_id = gtk_idle_add (setup_undo_redo_idle, NULL);
ur_idle_id = g_idle_add (setup_undo_redo_idle, NULL);
}
}
......
......@@ -49,19 +49,6 @@ ve_entry_set_red (GtkWidget *w, gboolean state)
}
}
GtkWidget *
ve_gtk_option_menu_get_item (GtkOptionMenu *option_menu, int index)
{
g_return_val_if_fail (option_menu != NULL, NULL);
g_return_val_if_fail (GTK_IS_OPTION_MENU (option_menu), NULL);
if (option_menu->menu != NULL) {
return g_list_nth_data (GTK_MENU_SHELL(option_menu->menu)->children,
index);
}
return NULL;
}
/* stolen from gsearchtool */
GtkWidget *
ve_hig_dialog_new (GtkWindow *parent,
......
......@@ -25,8 +25,6 @@
void ve_entry_set_red (GtkWidget *w,
gboolean state);
GtkWidget * ve_gtk_option_menu_get_item (GtkOptionMenu *option_menu,
int index);
GtkWidget * ve_hig_dialog_new (GtkWindow *parent,
GtkDialogFlags flags,
GtkMessageType type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment