diff options
author | Manish Singh <yosh@gimp.org> | 2004-08-26 00:20:25 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2004-08-26 00:20:25 +0000 |
commit | 95674320d9b0b520db607b387614238fb3d085cb (patch) | |
tree | 48e64428e379e80d6c6a375466863bad34dc025d /gtk/gtkselection.c | |
parent | b73a8cc0b4b7fa42ed3d5865c4bf661335da5790 (diff) | |
download | gtk+-95674320d9b0b520db607b387614238fb3d085cb.tar.gz |
initialize path so we don't potentially use an undefined pointer.
Wed Aug 25 17:14:58 2004 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
path so we don't potentially use an undefined pointer.
* gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
cast for tree_view_keybinding_cb.
* gtk/gtkfilechooserdefault.c (location_entry_create): cast to
GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
calls.
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
* gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
since that's what g_convert_with_fallback() expects.
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r-- | gtk/gtkselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index 1e3a1b06c3..d0ec8b8bc8 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -1014,7 +1014,7 @@ selection_get_text_plain (GtkSelectionData *selection_data) { const gchar *charset = NULL; gchar *str, *result; - gint len; + gsize len; GError *error = NULL; str = g_strdup (selection_data->data); |