diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-02-21 21:24:02 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-02-21 21:24:02 +0000 |
commit | 039d738e3b8914bc075265a4c6d52168674563cd (patch) | |
tree | 4a5a96efab4672163a8ac300f71cdf2196862dca /gdk/x11 | |
parent | f3f493abbb24b14d404087527a02e3906284fb0a (diff) | |
download | gtk+-039d738e3b8914bc075265a4c6d52168674563cd.tar.gz |
Changed warnings from g_message() to g_warning().
Sun Feb 21 16:16:22 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkscrolledwindow.c gdk/gdkfont.c gdk/gdkim.c:
Changed warnings from g_message() to g_warning().
* gdk/gdkim.c (gdk_ic_destroy): Changed g_print
to g_message within GDK_NOTE()
* gtk/gtkcolorsel.c gtk/gtkhandlebox.c:
Removed some leftover debugging printfs.
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdkfont-x11.c | 4 | ||||
-rw-r--r-- | gdk/x11/gdkim-x11.c | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/gdk/x11/gdkfont-x11.c b/gdk/x11/gdkfont-x11.c index c2bd18744a..617a4d2490 100644 --- a/gdk/x11/gdkfont-x11.c +++ b/gdk/x11/gdkfont-x11.c @@ -72,9 +72,9 @@ gdk_fontset_load (gchar *fontset_name) if (missing_charset_count) { gint i; - g_message ("Missing charsets in FontSet creation\n"); + g_warning ("Missing charsets in FontSet creation\n"); for (i=0;i<missing_charset_count;i++) - g_message (" %s\n", missing_charset_list[i]); + g_warning (" %s\n", missing_charset_list[i]); XFreeStringList (missing_charset_list); } diff --git a/gdk/x11/gdkim-x11.c b/gdk/x11/gdkim-x11.c index 6451529f78..31d72e3cd6 100644 --- a/gdk/x11/gdkim-x11.c +++ b/gdk/x11/gdkim-x11.c @@ -98,16 +98,16 @@ gdk_set_locale (void) gdk_use_mb = FALSE; if (!setlocale (LC_ALL,"")) - g_message ("locale not supported by C library"); + g_warning ("locale not supported by C library"); if (!XSupportsLocale ()) { - g_message ("locale not supported by Xlib, locale set to C"); + g_warning ("locale not supported by Xlib, locale set to C"); setlocale (LC_ALL, "C"); } if (!XSetLocaleModifiers ("")) - g_message ("can not set locale modifiers"); + g_warning ("can not set locale modifiers"); current_locale = setlocale (LC_ALL, NULL); @@ -180,9 +180,9 @@ gdk_im_begin (GdkIC *ic, GdkWindow* window) if (private->xic) { XSetICFocus (private->xic); - GDK_NOTE (XIM, g_print ("im_begin icfocus : %p(%ld)\n", - private->xic, - GDK_WINDOW_XWINDOW(private->attr->focus_window))); + GDK_NOTE (XIM, g_message ("im_begin icfocus : %p(%ld)\n", + private->xic, + GDK_WINDOW_XWINDOW(private->attr->focus_window))); } } gdk_xim_ic = private; @@ -212,7 +212,7 @@ gdk_im_end (void) if (gdk_xim_ic && gdk_xim_ic->xic) { XUnsetICFocus (gdk_xim_ic->xic); - GDK_NOTE (XIM, g_print ("im_end unfocus : %p\n", gdk_xim_ic->xic)); + GDK_NOTE (XIM, g_message ("im_end unfocus : %p\n", gdk_xim_ic->xic)); } gdk_xim_ic = NULL; gdk_xim_window = NULL; @@ -674,7 +674,7 @@ gdk_ic_destroy (GdkIC *ic) if (gdk_xim_ic == private) gdk_im_end (); - GDK_NOTE (XIM, g_print("ic_destroy %p\n", private->xic)); + GDK_NOTE (XIM, g_message ("ic_destroy %p\n", private->xic)); if (private->xic != NULL) XDestroyIC (private->xic); |