gtk+ r21458 - in trunk: . gtk
- From: otaylor svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21458 - in trunk: . gtk
- Date: Fri, 19 Sep 2008 22:52:33 +0000 (UTC)
Author: otaylor
Date: Fri Sep 19 22:52:33 2008
New Revision: 21458
URL: http://svn.gnome.org/viewvc/gtk+?rev=21458&view=rev
Log:
2008-09-19 Owen Taylor <otaylor redhat com>
Small cleanups to debug messages for GtkPlug/GtkSocket
* gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug"
* gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug messages.
Modified:
trunk/ChangeLog
trunk/gtk/gtkplug-x11.c
trunk/gtk/gtksocket-x11.c
Modified: trunk/gtk/gtkplug-x11.c
==============================================================================
--- trunk/gtk/gtkplug-x11.c (original)
+++ trunk/gtk/gtkplug-x11.c Fri Sep 19 22:52:33 2008
@@ -241,7 +241,7 @@
XReparentEvent *xre = &xevent->xreparent;
gboolean was_embedded = plug->socket_window != NULL;
- GTK_NOTE (PLUGSOCKET, g_message("GtkPlug: ReparentNotify received\n"));
+ GTK_NOTE (PLUGSOCKET, g_message("GtkPlug: ReparentNotify received"));
return_val = GDK_FILTER_REMOVE;
@@ -251,7 +251,7 @@
{
/* End of embedding protocol for previous socket */
- GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: end of embedding\n"));
+ GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: end of embedding"));
/* FIXME: race if we remove from another socket and
* then add to a local window before we get notification
* Probably need check in _gtk_plug_add_to_socket
@@ -276,7 +276,7 @@
if (xre->parent == GDK_WINDOW_XWINDOW (gdk_screen_get_root_window (screen)))
{
- GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: calling gtk_plug_send_delete_event()\n"));
+ GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: calling gtk_plug_send_delete_event()"));
_gtk_plug_send_delete_event (widget);
g_object_notify (G_OBJECT (plug), "embedded");
@@ -290,7 +290,7 @@
{
/* Start of embedding protocol */
- GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: start of embedding\n"));
+ GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: start of embedding"));
plug->socket_window = gdk_window_lookup_for_display (display, xre->parent);
if (plug->socket_window)
{
Modified: trunk/gtk/gtksocket-x11.c
==============================================================================
--- trunk/gtk/gtksocket-x11.c (original)
+++ trunk/gtk/gtksocket-x11.c Fri Sep 19 22:52:33 2008
@@ -600,7 +600,7 @@
{
XReparentEvent *xre = &xevent->xreparent;
- GTK_NOTE (PLUGSOCKET, g_message ("GtkPlug: ReparentNotify received\n"));
+ GTK_NOTE (PLUGSOCKET, g_message ("GtkSocket - ReparentNotify received"));
if (!socket->plug_window && xre->parent == GDK_WINDOW_XWINDOW (widget->window))
{
_gtk_socket_add_window (socket, xre->window, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]