Commit 5600b79e authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Remove unused and useless function gtk_menu_item_configure(). (#58925)

Fri Aug 24 22:12:32 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenuitem.[ch]: Remove unused and useless function
	gtk_menu_item_configure(). (#58925)
parent 747b7253
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
Fri Aug 24 22:12:32 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenuitem.[ch]: Remove unused and useless function
gtk_menu_item_configure(). (#58925)
Fri Aug 24 16:03:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): Add
......
......@@ -197,7 +197,6 @@ gtk_menu_item_init (GtkMenuItem *menu_item)
menu_item->accelerator_signal = menu_item_signals[ACTIVATE];
menu_item->toggle_size = 0;
menu_item->accelerator_width = 0;
menu_item->show_toggle_indicator = FALSE;
menu_item->show_submenu_indicator = FALSE;
menu_item->submenu_direction = GTK_DIRECTION_RIGHT;
menu_item->submenu_placement = GTK_TOP_BOTTOM;
......@@ -343,17 +342,6 @@ gtk_menu_item_set_placement (GtkMenuItem *menu_item,
menu_item->submenu_placement = placement;
}
void
gtk_menu_item_configure (GtkMenuItem *menu_item,
gboolean show_toggle_indicator,
gboolean show_submenu_indicator)
{
g_return_if_fail (GTK_IS_MENU_ITEM (menu_item));
menu_item->show_toggle_indicator = show_toggle_indicator;
menu_item->show_submenu_indicator = show_submenu_indicator;
}
void
gtk_menu_item_select (GtkMenuItem *menu_item)
{
......
......@@ -58,7 +58,6 @@ struct _GtkMenuItem
guint16 toggle_size;
guint16 accelerator_width;
guint show_toggle_indicator : 1;
guint show_submenu_indicator : 1;
guint submenu_placement : 1;
guint submenu_direction : 1;
......@@ -97,9 +96,6 @@ GtkWidget* gtk_menu_item_get_submenu (GtkMenuItem *menu_item);
void gtk_menu_item_remove_submenu (GtkMenuItem *menu_item);
void gtk_menu_item_set_placement (GtkMenuItem *menu_item,
GtkSubmenuPlacement placement);
void gtk_menu_item_configure (GtkMenuItem *menu_item,
gboolean show_toggle_indicator,
gboolean show_submenu_indicator);
void gtk_menu_item_select (GtkMenuItem *menu_item);
void gtk_menu_item_deselect (GtkMenuItem *menu_item);
void gtk_menu_item_activate (GtkMenuItem *menu_item);
......
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