diff options
author | Tor Lillqvist <tml@iki.fi> | 2010-09-08 17:36:10 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2010-09-08 21:31:33 +0300 |
commit | cb24bcc61301c2099289e684edb93becb2a01c39 (patch) | |
tree | 6faf475927850f03a77e3b962e0a3e0f5d9e44d4 /tests | |
parent | b654afcb480c4f971436bd82a7b20f86686a9c02 (diff) | |
download | gtk+-cb24bcc61301c2099289e684edb93becb2a01c39.tar.gz |
Turn the gtk version and age variables into functions
Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgtk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c index cddb7dfe56..b29c4d4be0 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -10333,14 +10333,14 @@ create_main_window (void) if (gtk_micro_version > 0) sprintf (buffer, "Gtk+ v%d.%d.%d", - gtk_major_version, - gtk_minor_version, - gtk_micro_version); + gtk_major_version (), + gtk_minor_version (), + gtk_micro_version ()); else sprintf (buffer, "Gtk+ v%d.%d", - gtk_major_version, - gtk_minor_version); + gtk_major_version (), + gtk_minor_version ()); label = gtk_label_new (buffer); gtk_box_pack_start (GTK_BOX (box1), label, FALSE, FALSE, 0); |