diff options
author | Havoc Pennington <hp@redhat.com> | 2000-06-21 20:41:15 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-06-21 20:41:15 +0000 |
commit | 443e8c395e9f45d89f669c944366055eead5d021 (patch) | |
tree | de32955aa0aae3cffd4f5ecf3d035c8309e60d28 /gtk/gtkmain.h | |
parent | f534125777af40642d3587eb1e0cb2de6946f4f2 (diff) | |
download | gtk+-443e8c395e9f45d89f669c944366055eead5d021.tar.gz |
Use gtk_get_default_language
2000-06-21 Havoc Pennington <hp@redhat.com>
* gtk/gtkwidget.c (gtk_widget_create_pango_context): Use
gtk_get_default_language
* gtk/gtkmain.h, gtk/gtkmain.c (gtk_get_default_language):
new function to get the default language
* gtk/gtktexttagprivate.h, gtk/gtktexttag.c, gtktextview.c:
s/gtk_text_view_style_values/gtk_text_style_values/
* gtk/gtktexttag.c, gtk/gtktexttag.h, gtk/gtktexttagprivate.h:
Add a "language" field to tags.
(gtk_text_tag_set_arg): Fix bug in setting
"bg_full_height_set" tag.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r-- | gtk/gtkmain.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index 9668fbda66..fb262c7788 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -78,13 +78,17 @@ gchar* gtk_check_version (guint required_major, /* Initialization, exit, mainloop and miscellaneous routines */ -void gtk_init (int *argc, - char ***argv); -gboolean gtk_init_check (int *argc, - char ***argv); -void gtk_exit (gint error_code); -gchar* gtk_set_locale (void); -gint gtk_events_pending (void); + +void gtk_init (int *argc, + char ***argv); +gboolean gtk_init_check (int *argc, + char ***argv); +void gtk_exit (gint error_code); +gchar* gtk_set_locale (void); +gchar* gtk_get_default_language (void); +gint gtk_events_pending (void); + + /* The following is the event func GTK+ registers with GDK * we expose it mainly to allow filtering of events between |