diff options
author | BST 2003 Tony Gale <gale@gtk.org> | 2003-06-25 18:01:14 +0000 |
---|---|---|
committer | Tony Gale <gale@src.gnome.org> | 2003-06-25 18:01:14 +0000 |
commit | 74275373e0807b15641ed697a3b9dad0df64af02 (patch) | |
tree | c7a604433af3595b88ac63948adf94ede91e005c /docs/faq | |
parent | 010fa9a5dafdb4ff3bd70e787bd6b7767adf87b4 (diff) | |
download | gdk-pixbuf-74275373e0807b15641ed697a3b9dad0df64af02.tar.gz |
Fix typos. Update thread example I missed yesterday.
Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Fix typos. Update
thread example I missed yesterday.
Diffstat (limited to 'docs/faq')
-rw-r--r-- | docs/faq/gtk-faq.sgml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index 02dd4227e..e80bc9a79 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2,7 +2,7 @@ <book> <bookinfo> - <date>June 24th 2003</date> + <date>June 25th 2003</date> <title>GTK+ FAQ</title> <authorgroup> <author> @@ -698,9 +698,7 @@ presents a list of GTK+ bindings.</para> <listitem><simpara>the gtkmm package, which is a wrapper for GTK+. You can find the home page at <ulink url="http://www.gtkmm.org"> - http://www.gtkmm.org/</ulink>. The FTP site is - <ulink url="ftp://ftp.gtk.org/pub/gtk/gtk--"> - ftp://ftp.gtk.org/pub/gtk/gtk--</ulink>.</simpara> + http://www.gtkmm.org/</ulink>.</simpara> </listitem> <listitem><simpara>the VDK package, which was built as @@ -851,7 +849,7 @@ out there you can look at.</para> libglade API docs (<ulink url="http://developer.gnome.org/doc/API/2.0/libglade/libglade-notes.html#libglade-basics"> http://developer.gnome.org/doc/API/2.0/libglade/libglade-notes.html#libglade-basics</ulink>) -</para> +.</para> </sect1> @@ -1194,7 +1192,11 @@ main (int argc, char *argv[]) { GtkWidget *window; + /* init threads */ g_thread_init(NULL); + gdk_threads_init(); + + /* init gtk */ gtk_init(&argc, &argv); window = create_window(); @@ -1204,7 +1206,7 @@ main (int argc, char *argv[]) gtk_main(); gdk_threads_leave(); - return(0); + return 0; } </programlisting> @@ -1395,7 +1397,7 @@ XFlush() directly:</para> <programlisting role="C"> -#include <gdk/gdkx.h> +#include <gdk/gdkx.h> void my_flush_commands (void) { |