wok view gtkdialog/stuff/glade_support.patch @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents
children
line source
1 --- src/glade_support.c Fri Mar 16 15:25:49 2007
2 +++ src/glade_support.c Mon Apr 6 17:08:47 2009
3 @@ -37,10 +37,10 @@
4 * *
5 * *
6 *************************************************************************/
7 -typedef struct signal {
8 +typedef struct _signal {
9 gchar *name;
10 GCallback callback;
11 -} signal;
12 +} _signal;
14 /*
15 ** Signal handler callbascks.
16 @@ -206,7 +206,7 @@
17 static gboolean
18 find_and_connect_handler(
19 GtkWidget *widget,
20 - signal *signals,
21 + _signal *signals,
22 const gchar *signal_name,
23 const gchar *handler_name)
24 {
25 @@ -288,7 +288,7 @@
26 gpointer user_data)
27 {
28 gint n;
29 - signal entry_signals[] = {
30 + _signal entry_signals[] = {
31 { "activate", (GCallback)on_any_entry_almost_any },
32 { "backspace", (GCallback)on_any_entry_almost_any },
33 { "copy-clipboard", (GCallback)on_any_entry_almost_any },
34 @@ -319,7 +319,7 @@
35 gpointer user_data)
36 {
37 variable *var;
38 - signal widget_signals[] = {
39 + _signal widget_signals[] = {
40 { "accel-closures-changed", (GCallback)on_any_widget_almost_any },
41 { "composited-changed", (GCallback)on_any_widget_almost_any },
42 { "grab-focus", (GCallback)on_any_widget_almost_any },