diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-05-14 16:48:31 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-05-14 16:48:31 +0000 |
commit | 278582d61d10411cde26fff4d4bd1df8528df832 (patch) | |
tree | 90b11f93c840fe1386110e20d2602b06417467d6 /gtk/gtkfontsel.c | |
parent | 3fd4c9f16997dec7f120bf0a9a93dd70d4bded8c (diff) | |
download | gtk+-278582d61d10411cde26fff4d4bd1df8528df832.tar.gz |
Discard configure events from SubstructureNotify. (#81760, Rich Burridge)
Tue May 14 11:21:19 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate):
Discard configure events from SubstructureNotify.
(#81760, Rich Burridge)
* gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
strcmp().
* gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
width of child allocation to >= 1. (Fixes warnings from
#77639, Martin Schulze)
Diffstat (limited to 'gtk/gtkfontsel.c')
-rw-r--r-- | gtk/gtkfontsel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c index f46e2ccb26..19d4b74816 100644 --- a/gtk/gtkfontsel.c +++ b/gtk/gtkfontsel.c @@ -670,7 +670,7 @@ cmp_families (const void *a, const void *b) const char *a_name = pango_font_family_get_name (*(PangoFontFamily **)a); const char *b_name = pango_font_family_get_name (*(PangoFontFamily **)b); - return strcmp (a_name, b_name); + return g_utf8_collate (a_name, b_name); } static void |