diff --git a/docs/reference/gtk/getting_started.xml b/docs/reference/gtk/getting_started.xml index c064365dbe..3cef084ed1 100644 --- a/docs/reference/gtk/getting_started.xml +++ b/docs/reference/gtk/getting_started.xml @@ -419,7 +419,7 @@ example_app_window_class_init (ExampleAppWindowClass *class) (full source) - You may have noticed that we used the _from_resource() variant + You may have noticed that we used the _from_resource() variant of the function that sets a template. Now we need to use GLib's resource functionality to include the ui file in the binary. This is commonly done by listing all resources in a .gresource.xml file, such as this: @@ -720,7 +720,7 @@ example_app_window_init (ExampleAppWindow *win) FIXME: MISSING XINCLUDE CONTENT - Now we revisit the preferences_activated() function in our + Now we revisit the preferences_activated() function in our application class, and make it open a new preference dialog. diff --git a/docs/reference/gtk/question_index.sgml b/docs/reference/gtk/question_index.sgml index b74b26f9b8..f0e11b7a21 100644 --- a/docs/reference/gtk/question_index.sgml +++ b/docs/reference/gtk/question_index.sgml @@ -186,9 +186,9 @@ or Linux system with gettext installed, type info gettext to read the documentation. -The short checklist on how to use gettext is: call bindtextdomain() so +The short checklist on how to use gettext is: call bindtextdomain() so gettext can find the files containing your translations, call textdomain() -to set the default translation domain, call bind_textdomain_codeset() to +to set the default translation domain, call bind_textdomain_codeset() to request that all translated strings are returned in UTF-8, then call gettext() to look up each string to be translated in the default domain. @@ -360,7 +360,7 @@ g_free (text); If you are using gettext() to localize your application, you need to -call bind_textdomain_codeset() to ensure that translated strings are +call bind_textdomain_codeset() to ensure that translated strings are returned in UTF-8 encoding. @@ -522,7 +522,7 @@ macro ? The GTK_TYPE_BLAH macros are defined as calls to -gtk_blah_get_type(), and the _get_type() i +gtk_blah_get_type(), and the _get_type() i functions are declared as %G_GNUC_CONST which allows the compiler to optimize the call away if it appears that the value is not being used.