diff --git a/treeview-tutorial.xml b/treeview-tutorial.xml index 67788c2..9289fb6 100644 --- a/treeview-tutorial.xml +++ b/treeview-tutorial.xml @@ -92,6 +92,10 @@ developers are able to decide which one is most suitable for the task at hand. + You can compile all the examples the standard GTK way on Linux. Just + use the gcc `pkg-config --cflags --libs gtk+-3.0` -o treeviewtest + treeviewtest.c command. + Hello World @@ -100,15 +104,7 @@ url="treeview-tutorial.tar.gz"> treeview-tutorial.tar.gz tarball). - - -/* - * Compile with: - * gcc -o helloworld helloworld.c `pkg-config --cflags --libs gtk+-2.0` - * - */ - -#include <gtk/gtk.h> + #include <gtk/gtk.h> enum { @@ -5559,12 +5555,7 @@ custom_list_tree_model_init (GtkTreeModelIface *iface) Working Example: Custom List Model Source Code Here is the complete source code for the custom list model - presented above. Compile - with: - - - gcc -o customlist custom-list.c main.c `pkg-config --cflags --libs gtk+-2.0` - + presented above.