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/gtkcellrenderercombo.c | |
parent | b73a8cc0b4b7fa42ed3d5865c4bf661335da5790 (diff) | |
download | gdk-pixbuf-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/gtkcellrenderercombo.c')
-rw-r--r-- | gtk/gtkcellrenderercombo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c index e1e5d5712..eea0f0619 100644 --- a/gtk/gtkcellrenderercombo.c +++ b/gtk/gtkcellrenderercombo.c @@ -369,7 +369,8 @@ gtk_cell_renderer_combo_start_editing (GtkCellRenderer *cell, search_data.found = FALSE; gtk_tree_model_foreach (cell_combo->model, find_text, &search_data); if (search_data.found) - gtk_combo_box_set_active_iter (combo, &(search_data.iter)); + gtk_combo_box_set_active_iter (GTK_COMBO_BOX (combo), + &(search_data.iter)); } g_object_set (combo, "has_frame", FALSE, NULL); |