forked from AuroraMiddleware/gtk
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:
parent
8ff713840b
commit
cc5fb1db03
@ -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);
|
||||
* ]|
|
||||
|
Loading…
Reference in New Issue
Block a user