diff options
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r-- | tests/testdnd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c index f258c1b97..203272996 100644 --- a/tests/testdnd.c +++ b/tests/testdnd.c @@ -311,9 +311,9 @@ target_drag_motion (GtkWidget *widget, } source_widget = gtk_drag_get_source_widget (context); - g_print("motion, source %s\n", source_widget ? - gtk_type_name (GTK_OBJECT (source_widget)->klass->type) : - "unknown"); + g_print ("motion, source %s\n", source_widget ? + GTK_OBJECT_TYPE_NAME (source_widget) : + "NULL"); gdk_drag_status (context, context->suggested_action, time); return TRUE; |