changeset 3765:b4a9d4be27ab

forgot to export a symbol. now I am done. really.
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 22:24:41 -0500
parents 4db0817319c0
children a1229c47d340
files src/audacious/plugin.h src/audacious/pluginenum.c src/audacious/ui_main.c src/audacious/util.h
diffstat 4 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 :( */
--- 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,
 };
 
 /*****************************************************************/
--- 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),
--- 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