gtksettings: Fix code snippet

gtk_init does not take any arguments anymore and
GTK_TYPE_IMAGE_MENU_ITEM is gone.
This commit is contained in:
Timm Bäder 2017-10-11 12:21:20 +02:00
parent 8ff713840b
commit cc5fb1db03

View File

@ -92,10 +92,10 @@
* widget type has been realized at least once. The following example
* demonstrates a way to do this:
* |[<!-- language="C" -->
* gtk_init (&argc, &argv);
* gtk_init ();
*
* // make sure the type is realized
* g_type_class_unref (g_type_class_ref (GTK_TYPE_IMAGE_MENU_ITEM));
* g_type_class_unref (g_type_class_ref (GTK_TYPE_BUTTON));
*
* g_object_set (gtk_settings_get_default (), "gtk-enable-animations", FALSE, NULL);
* ]|