summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2005-04-03 21:03:08 +0000
committerHans Breuer <hans@src.gnome.org>2005-04-03 21:03:08 +0000
commit0ba6aed77e18a5443ddb842d25f7cb0f27666a21 (patch)
treeb11d315744ab0d474636dd3788348bec08befacc /tests/testgtk.c
parent4a6d631cc6cb1ebffecb32bfbf7ef92a53c532c4 (diff)
downloadgdk-pixbuf-0ba6aed77e18a5443ddb842d25f7cb0f27666a21.tar.gz
[merged from gtk-2-6 branch] let dash_offset shift the start of the line
2005-04-03 Hans Breuer <hans@breuer.org> [merged from gtk-2-6 branch] * gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of the line pattern not the start of the line. Fixes bug #171641. * gtk/makefile.msc.in : follow .symbols changes * gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor() dynamically. (It is not available in _WIN_VER <= 0x0400) * gdk/win32/makefile.msc : removed gdkpango-win32.obj * gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI [also applied to gtk-2-6 branch] * gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def * gdk/makefile.msc.in : add gtkmnemonichash.obj * test/testgtk.c(set_parent_signal) : use g_message instead of g_print to keep the 'testgtk --bench=all' output clean
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 3a1f6791a..22919bd23 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2922,11 +2922,11 @@ set_parent_signal (GtkWidget *child,
GtkWidget *old_parent,
gpointer func_data)
{
- g_print ("set_parent for \"%s\": new parent: \"%s\", old parent: \"%s\", data: %d\n",
- g_type_name (G_OBJECT_TYPE (child)),
- child->parent ? g_type_name (G_OBJECT_TYPE (child->parent)) : "NULL",
- old_parent ? g_type_name (G_OBJECT_TYPE (old_parent)) : "NULL",
- GPOINTER_TO_INT (func_data));
+ g_message ("set_parent for \"%s\": new parent: \"%s\", old parent: \"%s\", data: %d\n",
+ g_type_name (G_OBJECT_TYPE (child)),
+ child->parent ? g_type_name (G_OBJECT_TYPE (child->parent)) : "NULL",
+ old_parent ? g_type_name (G_OBJECT_TYPE (old_parent)) : "NULL",
+ GPOINTER_TO_INT (func_data));
}
static void