Cosmetic changes

This commit is contained in:
Matthias Clasen 2011-01-06 00:07:48 -05:00
parent 4d8c7c5782
commit a601b43b83
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<warning><para>Even if GTK+ installs multiple header files, only the <warning><para>Even if GTK+ installs multiple header files, only the
top-level <filename>gtk/gtk.h</filename> header can be directly included top-level <filename>gtk/gtk.h</filename> header can be directly included
by third party code. The compiler will abort with an error if any other by third party code. The compiler will abort with an error if any other
header will be included.</para></warning> header is directly included.</para></warning>
<para>We then proceed into the <function>main</function>() function of the <para>We then proceed into the <function>main</function>() function of the
application, and we declare a <varname>window</varname> variable as a pointer application, and we declare a <varname>window</varname> variable as a pointer

View File

@ -1,7 +1,8 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
/* This is a callback function. The data arguments are ignored /* This is a callback function. The data arguments are ignored
* in this example. More on callbacks below. */ * in this example. More on callbacks below.
*/
static void static void
print_hello (GtkWidget *widget, print_hello (GtkWidget *widget,
gpointer data) gpointer data)