aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-17 00:21:41 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-17 00:21:41 +0800
commitf8ac3a5e684be6024af756a9ac354295849f9dce (patch)
treec1d245e859eab3c921e944fe237136e7a930277a /lib/ephy-dialog.c
parent559817b74ae0b6d87899b609d70c116cd6eefe7e (diff)
downloadgsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar
gsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar.gz
gsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar.bz2
gsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar.lz
gsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar.xz
gsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar.zst
gsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.zip
s/snprintf/g_snprintf to not break gcc 2.95
2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (set_config_from_color): * src/ephy-tabs-menu.c: (tab_set_action_accelerator): * src/prefs-dialog.c: (setup_font_menu), (save_font_menu), (size_spinbutton_changed_cb), (setup_size_control): * src/session.c: (session_save): s/snprintf/g_snprintf to not break gcc 2.95
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r--lib/ephy-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 6e891d3a2..8b6baa2ca 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -328,7 +328,7 @@ set_config_from_color (GtkWidget *colorpicker, const char *config_name)
&r, &g, &b, &a);
/* write into string (bounded size) */
- snprintf (color_string, 9, "#%02X%02X%02X", r, g, b);
+ g_snprintf (color_string, 9, "#%02X%02X%02X", r, g, b);
/* set the configuration value */
eel_gconf_set_string (config_name, color_string);