aboutsummaryrefslogtreecommitdiffstats
path: root/src/session.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 /src/session.c
parent559817b74ae0b6d87899b609d70c116cd6eefe7e (diff)
downloadgsoc2013-epiphany-f8ac3a5e684be6024af756a9ac354295849f9dce.tar.gz
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 'src/session.c')
-rw-r--r--src/session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/session.c b/src/session.c
index 58b9acae9..7b99447a1 100644
--- a/src/session.c
+++ b/src/session.c
@@ -519,14 +519,14 @@ session_save (Session *session,
gtk_window_get_position (GTK_WINDOW(wmain), &x, &y);
/* set window properties */
- snprintf(buffer, 32, "%d", x);
+ g_snprintf(buffer, 32, "%d", x);
xmlSetProp (window_node, "x", buffer);
- snprintf(buffer, 32, "%d", y);
+ g_snprintf(buffer, 32, "%d", y);
xmlSetProp (window_node, "y", buffer);
- snprintf(buffer, 32, "%d", width);
+ g_snprintf(buffer, 32, "%d", width);
xmlSetProp (window_node, "width", buffer);
- snprintf(buffer, 32, "%d", height);
+ g_snprintf(buffer, 32, "%d", height);
xmlSetProp (window_node, "height", buffer);
for (l = tabs; l != NULL; l = l->next)