summaryrefslogtreecommitdiff
path: root/examples/spinbutton
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-02 15:27:27 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-02 15:27:27 +0000
commitca21695fe9fe8d5db74ae77be9700ceb3fe29180 (patch)
treed954db94ab073f1ccfb02254080769d05c6d547a /examples/spinbutton
parentbc0d15aba7f5c8b741acca9d19546a23eaef11d0 (diff)
downloadgdk-pixbuf-ca21695fe9fe8d5db74ae77be9700ceb3fe29180.tar.gz
Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
Fri Nov 2 10:21:03 2001 Owen Taylor <otaylor@redhat.com> * examples/**/Makefile.am: Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
Diffstat (limited to 'examples/spinbutton')
-rw-r--r--examples/spinbutton/Makefile2
-rw-r--r--examples/spinbutton/spinbutton.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/examples/spinbutton/Makefile b/examples/spinbutton/Makefile
index 255189a0d..8963922d4 100644
--- a/examples/spinbutton/Makefile
+++ b/examples/spinbutton/Makefile
@@ -2,7 +2,7 @@
CC = gcc
spinbutton: spinbutton.c
- $(CC) `gtk-config --cflags` spinbutton.c -o spinbutton `gtk-config --libs`
+ $(CC) `pkg-config --cflags gtk+-2.0` spinbutton.c -o spinbutton `pkg-config --libs gtk+-2.0`
clean:
rm -f *.o spinbutton
diff --git a/examples/spinbutton/spinbutton.c b/examples/spinbutton/spinbutton.c
index 78000b827..6b26d09a6 100644
--- a/examples/spinbutton/spinbutton.c
+++ b/examples/spinbutton/spinbutton.c
@@ -95,8 +95,6 @@ int main( int argc,
5.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), TRUE);
- gtk_spin_button_set_shadow_type (GTK_SPIN_BUTTON (spinner),
- GTK_SHADOW_OUT);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
vbox2 = gtk_vbox_new (FALSE, 0);
@@ -110,8 +108,6 @@ int main( int argc,
5.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), TRUE);
- gtk_spin_button_set_shadow_type (GTK_SPIN_BUTTON (spinner),
- GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
vbox2 = gtk_vbox_new (FALSE, 0);
@@ -125,8 +121,6 @@ int main( int argc,
1.0, 100.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), FALSE);
- gtk_spin_button_set_shadow_type (GTK_SPIN_BUTTON (spinner),
- GTK_SHADOW_IN);
gtk_widget_set_usize (spinner, 55, 0);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);