diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-02-19 01:25:26 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-02-19 01:25:26 +0000 |
commit | bd73a312f06ad6d1a448cab873f309264ee24b46 (patch) | |
tree | 62afa03ae970e3260e0677d02a2391e1d0350a1d /examples/eventbox | |
parent | c3940d4a07a6855998e1d991afeb92f3253bef56 (diff) | |
download | gtk+-bd73a312f06ad6d1a448cab873f309264ee24b46.tar.gz |
Trivial formatting fixes to all examples, simple functional fixes to
* docs/tutorial/gtk-tut.sgml, docs/examples/*: Trivial formatting
fixes to all examples, simple functional fixes to rangewidgets example.
Diffstat (limited to 'examples/eventbox')
-rw-r--r-- | examples/eventbox/eventbox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/eventbox/eventbox.c b/examples/eventbox/eventbox.c index 85a886f913..8a56da831f 100644 --- a/examples/eventbox/eventbox.c +++ b/examples/eventbox/eventbox.c @@ -16,14 +16,14 @@ int main( int argc, gtk_window_set_title (GTK_WINDOW (window), "Event Box"); g_signal_connect (GTK_OBJECT (window), "destroy", - GTK_SIGNAL_FUNC (exit), NULL); + GTK_SIGNAL_FUNC (exit), NULL); gtk_container_set_border_width (GTK_CONTAINER (window), 10); /* Create an EventBox and add it to our toplevel window */ event_box = gtk_event_box_new (); - gtk_container_add (GTK_CONTAINER(window), event_box); + gtk_container_add (GTK_CONTAINER (window), event_box); gtk_widget_show (event_box); /* Create a long label */ @@ -37,8 +37,8 @@ int main( int argc, /* And bind an action to it */ gtk_widget_set_events (event_box, GDK_BUTTON_PRESS_MASK); - g_signal_connect (GTK_OBJECT(event_box), "button_press_event", - GTK_SIGNAL_FUNC (exit), NULL); + g_signal_connect (GTK_OBJECT (event_box), "button_press_event", + GTK_SIGNAL_FUNC (exit), NULL); /* Yet one more thing you need an X window for ... */ |