From 83c626bbe007ad0bd1f3aebb1e291fb4cb097c4a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 27 May 2003 21:21:00 +0000 Subject: Remove dubious bitfields of unspecified signedness. (#112919, Morten 2003-05-27 Matthias Clasen * io-wbmp.c: Remove dubious bitfields of unspecified signedness. (#112919, Morten Welinder)gdk-p * gdk-pixdata.c (gdk_pixdata_to_csource): Replace all occurances of g_string_new ("") by g_string_new (NULL). (#106975, Morten Welinder) * gtk/gtkwindow-decorate.c: * gtk/gtktreeprivate.h: * gtk/gtkdnd.c: * gdk/win32/gdkwindow-win32.h: * gdk/linux-fb/gdkprivate-fb.h: * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of unspecified signedness. (#112919, Morten Welinder) * gtk/queryimmodules.c (escape_string): * gtk/gtktextbtree.c (_gtk_text_btree_get_text): * gtk/gtksettings.c (_gtk_settings_parse_convert): * gtk/gtkrc.c (gtk_rc_parse_assignment): * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all occurances of g_string_new ("") by g_string_new (NULL). (#106975, Morten Welinder) --- gtk/gtkinputdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkinputdialog.c') diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c index 2577dbabf..1e59f643e 100644 --- a/gtk/gtkinputdialog.c +++ b/gtk/gtkinputdialog.c @@ -648,7 +648,7 @@ gtk_input_dialog_set_key (GtkInputKeyInfo *key, if (keyval) { - str = g_string_new(""); + str = g_string_new (NULL); if (modifiers & GDK_SHIFT_MASK) g_string_append (str, "Shift+"); -- cgit v1.2.1