Mercurial > audlegacy
comparison src/audacious/ui_manager.c @ 3751:0fb35f6cc4b7
PluginMenu API is exported now. No changes required to plugins.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 14 Oct 2007 16:58:36 -0500 |
parents | 24ae9b303a9d |
children | d3b549e75380 |
comparison
equal
deleted
inserted
replaced
3749:e97cee2185ce | 3751:0fb35f6cc4b7 |
---|---|
808 } | 808 } |
809 } | 809 } |
810 | 810 |
811 | 811 |
812 gint | 812 gint |
813 audacious_menu_plugin_item_add( gint menu_id , GtkWidget * item ) | 813 menu_plugin_item_add( gint menu_id , GtkWidget * item ) |
814 { | 814 { |
815 if ( menu_created ) | 815 if ( menu_created ) |
816 { | 816 { |
817 GtkWidget *plugins_menu = NULL; | 817 GtkWidget *plugins_menu = NULL; |
818 GtkWidget *plugins_menu_item = audacious_menu_plugin_menuwid( menu_id ); | 818 GtkWidget *plugins_menu_item = audacious_menu_plugin_menuwid( menu_id ); |
838 return -1; /* failure */ | 838 return -1; /* failure */ |
839 } | 839 } |
840 | 840 |
841 | 841 |
842 gint | 842 gint |
843 audacious_menu_plugin_item_remove( gint menu_id , GtkWidget * item ) | 843 menu_plugin_item_remove( gint menu_id , GtkWidget * item ) |
844 { | 844 { |
845 if ( menu_created ) | 845 if ( menu_created ) |
846 { | 846 { |
847 GtkWidget *plugins_menu = NULL; | 847 GtkWidget *plugins_menu = NULL; |
848 GtkWidget *plugins_menu_item = audacious_menu_plugin_menuwid( menu_id ); | 848 GtkWidget *plugins_menu_item = audacious_menu_plugin_menuwid( menu_id ); |