+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
+Thu Dec 10 02:21:16 1998 Jeff Garzik <jgarzik@pobox.com>
+
+ * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
+ * gtk/testrgb.c: include string.h, for strlen
+
Wed Dec 9 17:39:26 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Add a case for success in
-#include <string.h>
#include "gtk/gtk.h"
/* Target side drag signals */
for (j=0; j<3; j++)
{
char buffer[128];
- sprintf(buffer, "%d,%d", i, j);
+ g_snprintf(buffer, sizeof(buffer), "%d,%d", i, j);
button = gtk_button_new_with_label (buffer);
gtk_table_attach (GTK_TABLE (table), button, i, i+1, j, j+1,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL,
#include <sys/time.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include "gtk.h"
-#include <string.h>
#include "gtk/gtk.h"
/* Target side drag signals */
for (j=0; j<3; j++)
{
char buffer[128];
- sprintf(buffer, "%d,%d", i, j);
+ g_snprintf(buffer, sizeof(buffer), "%d,%d", i, j);
button = gtk_button_new_with_label (buffer);
gtk_table_attach (GTK_TABLE (table), button, i, i+1, j, j+1,
GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL,
#include <sys/time.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
#include "gtk.h"