Commit ca21695f authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent bc0d15ab
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
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)
2001-11-02 Matt Wilson <msw@redhat.com> 2001-11-02 Matt Wilson <msw@redhat.com>
* gtk/gtkdialog.c (find_child_by_response_id): remove totally * gtk/gtkdialog.c (find_child_by_response_id): remove totally
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
arrow: arrow.c arrow: arrow.c
$(CC) `gtk-config --cflags` arrow.c -o arrow `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` arrow.c -o arrow `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o arrow rm -f *.o arrow
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
aspectframe: aspectframe.c aspectframe: aspectframe.c
$(CC) `gtk-config --cflags` aspectframe.c -o aspectframe `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` aspectframe.c -o aspectframe `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o aspectframe rm -f *.o aspectframe
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
base: base.c base: base.c
$(CC) `gtk-config --cflags` base.c -o base `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` base.c -o base `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o base rm -f *.o base
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
buttonbox: buttonbox.c buttonbox: buttonbox.c
$(CC) `gtk-config --cflags` buttonbox.c -o buttonbox `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` buttonbox.c -o buttonbox `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o buttonbox rm -f *.o buttonbox
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
buttons: buttons.c buttons: buttons.c
$(CC) `gtk-config --cflags` buttons.c -o buttons `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` buttons.c -o buttons `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o buttons rm -f *.o buttons
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
calendar: calendar.c calendar: calendar.c
$(CC) `gtk-config --cflags` calendar.c -o calendar `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` calendar.c -o calendar `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f calendar rm -f calendar
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
clist: clist.c clist: clist.c
$(CC) `gtk-config --cflags` clist.c -o clist `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` clist.c -o clist `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o clist rm -f *.o clist
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
entry: entry.c entry: entry.c
$(CC) `gtk-config --cflags` entry.c -o entry `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` entry.c -o entry `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o entry rm -f *.o entry
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
eventbox: eventbox.c eventbox: eventbox.c
$(CC) `gtk-config --cflags` eventbox.c -o eventbox `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` eventbox.c -o eventbox `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o eventbox rm -f *.o eventbox
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
filesel: filesel.c filesel: filesel.c
$(CC) `gtk-config --cflags` filesel.c -o filesel `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` filesel.c -o filesel `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o filesel rm -f *.o filesel
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
fixed: fixed.c fixed: fixed.c
$(CC) `gtk-config --cflags` fixed.c -o fixed `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` fixed.c -o fixed `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o fixed rm -f *.o fixed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
frame: frame.c frame: frame.c
$(CC) `gtk-config --cflags` frame.c -o frame `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` frame.c -o frame `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o frame rm -f *.o frame
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
CC = gcc CC = gcc
dial_test: gtkdial.o dial_test.o dial_test: gtkdial.o dial_test.o
$(CC) dial_test.o gtkdial.o -o dial_test `gtk-config --libs` $(CC) dial_test.o gtkdial.o -o dial_test `pkg-config --libs gtk+-2.0`
dial_test.o: dial_test.c gtkdial.h dial_test.o: dial_test.c gtkdial.h
$(CC) `gtk-config --cflags` -c dial_test.c -o dial_test.o $(CC) `pkg-config --cflags gtk+-2.0` -c dial_test.c -o dial_test.o
gtkdial.o: gtkdial.c gtkdial.h gtkdial.o: gtkdial.c gtkdial.h
$(CC) `gtk-config --cflags` -c gtkdial.c -o gtkdial.o $(CC) `pkg-config --cflags gtk+-2.0` -c gtkdial.c -o gtkdial.o
clean: clean:
rm -f *.o dial_test rm -f *.o dial_test
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
helloworld: helloworld.c helloworld: helloworld.c
$(CC) `gtk-config --cflags` helloworld.c -o helloworld `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` helloworld.c -o helloworld `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o helloworld rm -f *.o helloworld
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
helloworld2: helloworld2.c helloworld2: helloworld2.c
$(CC) `gtk-config --cflags` helloworld2.c -o helloworld2 `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` helloworld2.c -o helloworld2 `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o helloworld2 rm -f *.o helloworld2
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
label: label.c label: label.c
$(CC) `gtk-config --cflags` label.c -o label `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` label.c -o label `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o label rm -f *.o label
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
list: list.c list: list.c
$(CC) `gtk-config --cflags` list.c -o list `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` list.c -o list `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o list rm -f *.o list
...@@ -4,10 +4,10 @@ CC = gcc ...@@ -4,10 +4,10 @@ CC = gcc
all: menu itemfactory all: menu itemfactory
menu: menu.c menu: menu.c
$(CC) `gtk-config --cflags` menu.c -o menu `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` menu.c -o menu `pkg-config --libs gtk+-2.0`
itemfactory: itemfactory.c itemfactory: itemfactory.c
$(CC) `gtk-config --cflags` itemfactory.c -o itemfactory `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` itemfactory.c -o itemfactory `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o menu itemfactory rm -f *.o menu itemfactory
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
notebook: notebook.c notebook: notebook.c
$(CC) `gtk-config --cflags` notebook.c -o notebook `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` notebook.c -o notebook `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o notebook rm -f *.o notebook
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
packbox: packbox.c packbox: packbox.c
$(CC) `gtk-config --cflags` packbox.c -o packbox `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` packbox.c -o packbox `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o packbox rm -f *.o packbox
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
packer: pack.c packer: pack.c
$(CC) `gtk-config --cflags` pack.c -o packer `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` pack.c -o packer `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o packer rm -f *.o packer
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
paned: paned.c paned: paned.c
$(CC) `gtk-config --cflags` paned.c -o paned `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` paned.c -o paned `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o paned rm -f *.o paned
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
pixmap: pixmap.c pixmap: pixmap.c
$(CC) `gtk-config --cflags` pixmap.c -o pixmap `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` pixmap.c -o pixmap `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o pixmap rm -f *.o pixmap
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
progressbar: progressbar.c progressbar: progressbar.c
$(CC) `gtk-config --cflags` progressbar.c -o progressbar `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` progressbar.c -o progressbar `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o progressbar rm -f *.o progressbar
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
radiobuttons: radiobuttons.c radiobuttons: radiobuttons.c
$(CC) `gtk-config --cflags` radiobuttons.c -o radiobuttons `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` radiobuttons.c -o radiobuttons `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o radiobuttons rm -f *.o radiobuttons
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
rangewidgets: rangewidgets.c rangewidgets: rangewidgets.c
$(CC) `gtk-config --cflags` rangewidgets.c -o rangewidgets `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` rangewidgets.c -o rangewidgets `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o rangewidgets rm -f *.o rangewidgets
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
rulers: rulers.c rulers: rulers.c
$(CC) `gtk-config --cflags` rulers.c -o rulers `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` rulers.c -o rulers `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o rulers rm -f *.o rulers
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
scribble-simple: scribble-simple.c scribble-simple: scribble-simple.c
$(CC) `gtk-config --cflags` scribble-simple.c -o scribble-simple `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` scribble-simple.c -o scribble-simple `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o scribble-simple rm -f *.o scribble-simple
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
scribble-xinput: scribble-xinput.c scribble-xinput: scribble-xinput.c
$(CC) `gtk-config --cflags` scribble-xinput.c -o scribble-xinput `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` scribble-xinput.c -o scribble-xinput `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o scribble-xinput rm -f *.o scribble-xinput
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
scrolledwin: scrolledwin.c scrolledwin: scrolledwin.c
$(CC) `gtk-config --cflags` scrolledwin.c -o scrolledwin `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` scrolledwin.c -o scrolledwin `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o scrolledwin rm -f *.o scrolledwin
...@@ -4,10 +4,10 @@ CC = gcc ...@@ -4,10 +4,10 @@ CC = gcc
all: gettargets setselection all: gettargets setselection
gettargets: gettargets.c gettargets: gettargets.c
$(CC) `gtk-config --cflags` gettargets.c -o gettargets `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` gettargets.c -o gettargets `pkg-config --libs gtk+-2.0`
setselection: setselection.c setselection: setselection.c
$(CC) `gtk-config --cflags` setselection.c -o setselection `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` setselection.c -o setselection `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o gettargets setselection rm -f *.o gettargets setselection
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
spinbutton: spinbutton.c 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: clean:
rm -f *.o spinbutton rm -f *.o spinbutton
...@@ -95,8 +95,6 @@ int main( int argc, ...@@ -95,8 +95,6 @@ int main( int argc,
5.0, 0.0); 5.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0); spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), TRUE); 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); gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
vbox2 = gtk_vbox_new (FALSE, 0); vbox2 = gtk_vbox_new (FALSE, 0);
...@@ -110,8 +108,6 @@ int main( int argc, ...@@ -110,8 +108,6 @@ int main( int argc,
5.0, 0.0); 5.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0); spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), TRUE); 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); gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
vbox2 = gtk_vbox_new (FALSE, 0); vbox2 = gtk_vbox_new (FALSE, 0);
...@@ -125,8 +121,6 @@ int main( int argc, ...@@ -125,8 +121,6 @@ int main( int argc,
1.0, 100.0, 0.0); 1.0, 100.0, 0.0);
spinner = gtk_spin_button_new (adj, 0, 0); spinner = gtk_spin_button_new (adj, 0, 0);
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner), FALSE); 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_widget_set_usize (spinner, 55, 0);
gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0); gtk_box_pack_start (GTK_BOX (vbox2), spinner, FALSE, TRUE, 0);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
statusbar: statusbar.c statusbar: statusbar.c
$(CC) `gtk-config --cflags` statusbar.c -o statusbar `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` statusbar.c -o statusbar `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o statusbar rm -f *.o statusbar
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc
table: table.c table: table.c
$(CC) `gtk-config --cflags` table.c -o table `gtk-config --libs` $(CC) `pkg-config --cflags gtk+-2.0` table.c -o table `pkg-config --libs gtk+-2.0`
clean: clean:
rm -f *.o table rm -f *.o table
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
CC = gcc CC = gcc