summaryrefslogtreecommitdiff
path: root/gtk/gtkinputdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-05-27 21:21:00 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-05-27 21:21:00 +0000
commit83c626bbe007ad0bd1f3aebb1e291fb4cb097c4a (patch)
treeac47d80a1ece39b3f7eda441c16a9d7c6dad0e61 /gtk/gtkinputdialog.c
parentfd99f43ac5468dffd55659860a8f14c630ce1408 (diff)
downloadgdk-pixbuf-83c626bbe007ad0bd1f3aebb1e291fb4cb097c4a.tar.gz
Remove dubious bitfields of unspecified signedness. (#112919, Morten
2003-05-27 Matthias Clasen <maclas@gmx.de> * 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)
Diffstat (limited to 'gtk/gtkinputdialog.c')
-rw-r--r--gtk/gtkinputdialog.c2
1 files changed, 1 insertions, 1 deletions
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+");