diff options
author | Hans Breuer <hans@breuer.org> | 2001-07-20 18:05:33 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2001-07-20 18:05:33 +0000 |
commit | 4c5b559e04a7de00ae7fc0edea0ab4767c1d9f4c (patch) | |
tree | 476125608dd6c417fc8452a75cbf37f44e3afa11 /gtk/gtkoldeditable.c | |
parent | 9d1e828d08de78793e1f1ef68535b4d62b13e691 (diff) | |
download | gtk+-4c5b559e04a7de00ae7fc0edea0ab4767c1d9f4c.tar.gz |
gdk_device_get_history moved to gdk/gdkinput.c like the other backends
2001-07-20 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkinput-win32.c : gdk_device_get_history moved to
gdk/gdkinput.c like the other backends
* gdk/win32/gdkinput-win32.h :
* gdk/win32/gdkinput.c :
* gdk/win32/gdkvisual-win32.c :
* gdk/win32/gdkwin32.h : mechanical adaption to GdkDevice and
GdkVisual GObjectification. UNTESTED for pen-devices because
I simply have none.
* gdk/gdk.def :
* gtk/gtk.def : updated externals
* gtk/gtkiconfactory.c :
* gtk/gtkoldeditable.c : GError *error needs to be initialized (= NULL)
before passing &error to functions to avoid strange crashes
* gtk/gtkcontainer.c (gtk_container_real_set_focus_child) : is static
* gtk/gtkwidget.c (gtk_widget_get_child_visible): use g_return_val_if_fail
* gtk/makefile.msc.in : updated
Diffstat (limited to 'gtk/gtkoldeditable.c')
-rw-r--r-- | gtk/gtkoldeditable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkoldeditable.c b/gtk/gtkoldeditable.c index dd88adecaa..f048659392 100644 --- a/gtk/gtkoldeditable.c +++ b/gtk/gtkoldeditable.c @@ -517,7 +517,7 @@ gtk_old_editable_get_public_chars (GtkOldEditable *old_editable, if (old_editable->visible) { - GError *error; + GError *error = NULL; gchar *tmp = gtk_editable_get_chars (GTK_EDITABLE (old_editable), start, end); if (need_conversion) @@ -636,7 +636,7 @@ gtk_old_editable_paste_received (GtkOldEditable *old_editable, if (text) { - GError *error; + GError *error = NULL; need_conversion = !g_get_charset (&charset); |