blob: 14db9390852ae06b0cf176be86d1fc527d1e14f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$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 */
|