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/gtkpreview.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/gtkpreview.c')
-rw-r--r-- | gtk/gtkpreview.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c index 9a323ff32f..9dc9b2973c 100644 --- a/gtk/gtkpreview.c +++ b/gtk/gtkpreview.c @@ -1255,8 +1255,8 @@ gtk_trim_cmap (GtkPreviewClass *klass) if ((nred < 2) || (ngreen < 2) || (nblue < 2) || (ngray < 2)) { - g_message ("Unable to allocate sufficient colormap entries.\n"); - g_message ("Try exiting other color intensive applications.\n"); + g_message ("Unable to allocate sufficient colormap entries."); + g_message ("Try exiting other color intensive applications."); return; } @@ -1266,8 +1266,8 @@ gtk_trim_cmap (GtkPreviewClass *klass) (nblue != klass->info.nblue_shades) || (ngray != klass->info.ngray_shades)) { - g_message ("Not enough colors to satisfy requested color cube.\n"); - g_message ("Reduced color cube shades from\n"); + g_message ("Not enough colors to satisfy requested color cube."); + g_message ("Reduced color cube shades from"); g_message ("[%d of Red, %d of Green, %d of Blue, %d of Gray] ==> [%d of Red, %d of Green, %d of Blue, %d of Gray]\n", klass->info.nred_shades, klass->info.ngreen_shades, klass->info.nblue_shades, klass->info.ngray_shades, |