2972388fdf
GCC 3.4.
34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
$NetBSD: patch-ad,v 1.6 2006/05/19 19:09:18 joerg Exp $
|
|
|
|
--- src/menu.c.orig 2006-05-19 17:58:22.000000000 +0000
|
|
+++ src/menu.c
|
|
@@ -255,7 +255,7 @@ void menu_add_items (GtkUIManager *ui, c
|
|
* Requires a function body, to which is passed int v = radio action value
|
|
*/
|
|
#define JS_CB_R(func) \
|
|
- static always_inline void js_##func##_cb_int (int); \
|
|
+ static void js_##func##_cb_int (int); \
|
|
static void js_##func##_cb (GtkRadioAction *action, gpointer data) \
|
|
{ \
|
|
/* \
|
|
@@ -266,17 +266,17 @@ void menu_add_items (GtkUIManager *ui, c
|
|
*/ \
|
|
js_##func##_cb_int (gtk_radio_action_get_current_value (action)); \
|
|
} \
|
|
- static always_inline void js_##func##_cb_int (int v)
|
|
+ static void js_##func##_cb_int (int v)
|
|
/* function body goes here */
|
|
|
|
/* Toggle action callback (no Javascript)
|
|
* Requires a function body, to which is passed gboolean v = toggle state
|
|
*/
|
|
#define JS_CB_T(func) \
|
|
- static always_inline void js_##func##_cb_int (gboolean); \
|
|
+ static void js_##func##_cb_int (gboolean); \
|
|
static void js_##func##_cb (GtkToggleAction *action, gpointer data) \
|
|
{ js_##func##_cb_int (gtk_toggle_action_get_active (action)); } \
|
|
- static always_inline void js_##func##_cb_int (gboolean v)
|
|
+ static void js_##func##_cb_int (gboolean v)
|
|
/* function body goes here */
|
|
|
|
/* File */
|