mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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.
This commit is contained in:
parent
f3f493abbb
commit
039d738e3b
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -1,3 +1,14 @@
|
||||
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.
|
||||
|
||||
Sun Feb 21 15:59:55 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/MwmUtil.h gdk/gdkwindow.c: Account for the
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
16
gdk/gdkim.c
16
gdk/gdkim.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);
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -958,10 +958,6 @@ gtk_color_selection_drag_handle (GtkWidget *widget,
|
||||
vals[2] = colors[2] * 0xffff;
|
||||
vals[3] = colorsel->use_opacity ? colors[3] * 0xffff : 0xffff;
|
||||
|
||||
g_print ("%x %x\n", vals[0], vals[3]);
|
||||
g_print ("%g\n", colorsel->values[OPACITY]);
|
||||
g_print ("%d\n", colorsel->use_opacity);
|
||||
|
||||
gtk_selection_data_set (selection_data,
|
||||
gdk_atom_intern ("application/x-color", FALSE),
|
||||
16, (guchar *)vals, 8);
|
||||
|
@ -954,8 +954,6 @@ gtk_handle_box_button_changed (GtkWidget *widget,
|
||||
hb->attach_allocation.width = width;
|
||||
hb->attach_allocation.height = height;
|
||||
|
||||
g_print ("%d %d\n", width, height);
|
||||
|
||||
hb->in_drag = TRUE;
|
||||
fleur = gdk_cursor_new (GDK_FLEUR);
|
||||
if (gdk_pointer_grab (widget->window,
|
||||
@ -1076,9 +1074,6 @@ gtk_handle_box_motion (GtkWidget *widget,
|
||||
break;
|
||||
}
|
||||
|
||||
g_print ("(%d %d), (%d %d)\n",
|
||||
float_pos1, float_pos2, attach_pos1, attach_pos2);
|
||||
|
||||
is_snapped = ((attach_pos1 - TOLERANCE < float_pos1) &&
|
||||
(attach_pos2 + TOLERANCE > float_pos2)) ||
|
||||
((float_pos1 - TOLERANCE < attach_pos1) &&
|
||||
|
@ -892,7 +892,7 @@ gtk_scrolled_window_add (GtkContainer *container,
|
||||
if (!gtk_widget_set_scroll_adjustments (child,
|
||||
gtk_range_get_adjustment (GTK_RANGE (scrolled_window->hscrollbar)),
|
||||
gtk_range_get_adjustment (GTK_RANGE (scrolled_window->vscrollbar))))
|
||||
g_message ("gtk_scrolled_window_add(): cannot add non scrollable widget "
|
||||
g_warning ("gtk_scrolled_window_add(): cannot add non scrollable widget "
|
||||
"use gtk_scrolled_window_add_with_viewport() instead");
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (child->parent))
|
||||
|
Loading…
Reference in New Issue
Block a user