# HG changeset patch # User William Pitcock # Date 1192418681 18000 # Node ID b4a9d4be27ab99aa1e93e66c4fa5f7528f51febc # Parent 4db0817319c05a6434e8fb0d5387ce452e25896a forgot to export a symbol. now I am done. really. diff -r 4db0817319c0 -r b4a9d4be27ab src/audacious/plugin.h --- a/src/audacious/plugin.h Sun Oct 14 22:04:55 2007 -0500 +++ b/src/audacious/plugin.h Sun Oct 14 22:24:41 2007 -0500 @@ -302,6 +302,7 @@ gpointer action_data); const gchar *(*get_gentitle_format)(void); gchar *(*util_get_localdir)(void); + void (*util_menu_main_show)(gint x, gint y, guint button, guint time); /* INI funcs */ INIFile *(*open_ini_file)(const gchar *filename); @@ -902,6 +903,8 @@ #define aud_volumecontrol_flow _audvt->volumecontrol_flow #define aud_flow_destroy(flow) mowgli_object_unref(flow) +#define audacious_menu_main_show _audvt->util_menu_main_show + #include "audacious/auddrct.h" /* for multi-file plugins :( */ diff -r 4db0817319c0 -r b4a9d4be27ab src/audacious/pluginenum.c --- a/src/audacious/pluginenum.c Sun Oct 14 22:04:55 2007 -0500 +++ b/src/audacious/pluginenum.c Sun Oct 14 22:24:41 2007 -0500 @@ -372,6 +372,7 @@ .iir_flow = iir_flow, .volumecontrol_flow = volumecontrol_flow, + .util_menu_main_show = util_menu_main_show, }; /*****************************************************************/ diff -r 4db0817319c0 -r b4a9d4be27ab src/audacious/ui_main.c --- a/src/audacious/ui_main.c Sun Oct 14 22:04:55 2007 -0500 +++ b/src/audacious/ui_main.c Sun Oct 14 22:24:41 2007 -0500 @@ -2640,7 +2640,7 @@ void -audacious_menu_main_show( gint x , gint y , guint button , guint time ) +util_menu_main_show( gint x , gint y , guint button , guint time ) { /* convenience function that shows the main popup menu wherever requested */ ui_manager_popup_menu_show( GTK_MENU(mainwin_general_menu), diff -r 4db0817319c0 -r b4a9d4be27ab src/audacious/util.h --- a/src/audacious/util.h Sun Oct 14 22:04:55 2007 -0500 +++ b/src/audacious/util.h Sun Oct 14 22:24:41 2007 -0500 @@ -103,7 +103,7 @@ gchar *util_get_localdir(void); /* menu-related function */ -void audacious_menu_main_show(gint x, gint y, guint button, guint time); +void util_menu_main_show(gint x, gint y, guint button, guint time); G_END_DECLS