use g_get_current_dir() instead of getcwd().
Tue Aug 18 17:54:40 1998 Tim Janik <timj@gtk.org> * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of getcwd(). * gdk/gdkprivate.h: * gdk/gdkglobals.c: * gdk/gdkwindow.c: * gdk/gdk.c: * gtk/gtkwindow.c: * gtk/gtkitemfactory.c: dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead. * gtk/gtkselection.c: * gtk/gtkpreview.c: * gtk/gtkobject.c: * gtk/gtkmain.c: * gtk/gtktypeutils.c: indentation fixes due to g_message() use. * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
This commit is contained in:
@ -95,7 +95,7 @@ gtk_object_debug_foreach (gpointer key, gpointer value, gpointer user_data)
|
||||
GtkObject *object;
|
||||
|
||||
object = (GtkObject*) value;
|
||||
g_message ("[%p] %s\tref_count=%d%s%s\n",
|
||||
g_message ("[%p] %s\tref_count=%d%s%s",
|
||||
object,
|
||||
gtk_type_name (GTK_OBJECT_TYPE (object)),
|
||||
object->ref_count,
|
||||
@ -107,7 +107,7 @@ gtk_object_debug (void)
|
||||
{
|
||||
g_hash_table_foreach (living_objs_ht, gtk_object_debug_foreach, NULL);
|
||||
|
||||
g_message ("living objects count = %d\n", obj_count);
|
||||
g_message ("living objects count = %d", obj_count);
|
||||
}
|
||||
#endif /* G_ENABLE_DEBUG */
|
||||
|
||||
|
Reference in New Issue
Block a user