]> git.pld-linux.org Git - packages/bogl.git/blame - bogl-0.1.18-noexecstack.patch
- release 11 (by relup.sh)
[packages/bogl.git] / bogl-0.1.18-noexecstack.patch
CommitLineData
4b8c099c
PZ
1--- bogl/bowl.c.noexecstack 2005-02-17 18:39:23.385647088 +0100
2+++ bogl/bowl.c 2005-02-17 18:40:42.681592272 +0100
3@@ -324,6 +324,14 @@
4 }
5 }
6
7+static struct widget *callback_widget;
8+
9+static void
10+callback (int percent)
11+{
12+ bowl_set_scale (callback_widget, percent);
13+}
14+
15 /* Start up BOWL. */
16 void
17 bowl_init (void)
18@@ -342,13 +350,6 @@
19
20 if (!inited)
21 {
22- struct widget *w;
23-
24- void callback (int percent)
25- {
26- bowl_set_scale (w, percent);
27- }
28-
29 bowl_init_palette(&pixmap_tux75);
30
31 bowl_flush ();
32@@ -356,7 +357,7 @@
33 {
34 bowl_title (_("Please wait"));
35 bowl_new_text (_("Detecting mice..."));
36- w = bowl_new_scale (100);
37+ callback_widget = bowl_new_scale (100);
38 bowl_layout ();
39 boml_init (callback);
40 }
This page took 0.154306 seconds and 4 git commands to generate.