From f8ac3a5e684be6024af756a9ac354295849f9dce Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 16 Jun 2003 16:21:41 +0000 Subject: s/snprintf/g_snprintf to not break gcc 2.95 2003-06-16 Marco Pesenti Gritti * 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 --- src/session.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/session.c') 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) -- cgit