aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
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 /embed/mozilla
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 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index 855334371..761742573 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -455,30 +455,30 @@ mozilla_notifiers_init(EphyEmbedSingle *single)
{
info = g_strconcat (types[k], ".", fonts_language[i].code, NULL);
- snprintf (key, 255, "%s_%s_%s", CONF_RENDERING_FONT,
- types[k],
- fonts_language[i].code);
+ g_snprintf (key, 255, "%s_%s_%s", CONF_RENDERING_FONT,
+ types[k],
+ fonts_language[i].code);
add_notification_and_notify (client, key,
(GConfClientNotifyFunc)mozilla_font_notifier,
info);
font_infos = g_list_append (font_infos, info);
}
- snprintf (key, 255, "%s_%s", CONF_RENDERING_FONT_MIN_SIZE, fonts_language[i].code);
+ g_snprintf (key, 255, "%s_%s", CONF_RENDERING_FONT_MIN_SIZE, fonts_language[i].code);
info = g_strconcat ("minimum-size", ".", fonts_language[i].code, NULL);
add_notification_and_notify (client, key,
(GConfClientNotifyFunc)mozilla_font_size_notifier,
info);
font_infos = g_list_append (font_infos, info);
- snprintf (key, 255, "%s_%s", CONF_RENDERING_FONT_FIXED_SIZE, fonts_language[i].code);
+ g_snprintf (key, 255, "%s_%s", CONF_RENDERING_FONT_FIXED_SIZE, fonts_language[i].code);
info = g_strconcat ("size.fixed", ".", fonts_language[i].code, NULL);
add_notification_and_notify (client, key,
(GConfClientNotifyFunc)mozilla_font_size_notifier,
info);
font_infos = g_list_append (font_infos, info);
- snprintf (key, 255, "%s_%s", CONF_RENDERING_FONT_VAR_SIZE, fonts_language[i].code);
+ g_snprintf (key, 255, "%s_%s", CONF_RENDERING_FONT_VAR_SIZE, fonts_language[i].code);
info = g_strconcat ("size.variable", ".", fonts_language[i].code, NULL);
add_notification_and_notify (client, key,
(GConfClientNotifyFunc)mozilla_font_size_notifier,