diff options
author | Tim Janik <timj@gtk.org> | 1998-08-18 16:58:09 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-08-18 16:58:09 +0000 |
commit | 49dfa78e74d3f74313385b833829e84c0b01657c (patch) | |
tree | 8ab9aa8363d48037668ed014dd292d4a777b0601 /gtk/gtkwindow.c | |
parent | 1575a19c592471888d2603df65149799aadb4601 (diff) | |
download | gtk+-49dfa78e74d3f74313385b833829e84c0b01657c.tar.gz |
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.
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index d23367e941..01ca00e2fe 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -188,7 +188,7 @@ gtk_window_init (GtkWindow *window) gtk_container_set_resize_mode (GTK_CONTAINER (window), GTK_RESIZE_QUEUE); window->title = NULL; - window->wmclass_name = g_strdup (gdk_progname); + window->wmclass_name = g_strdup (g_get_prgname ()); window->wmclass_class = g_strdup (gdk_progclass); window->type = GTK_WINDOW_TOPLEVEL; window->focus_widget = NULL; |