summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-14 16:46:13 -0400
committerColin Walters <walters@verbum.org>2010-06-28 13:50:36 -0400
commiteebb16eb1af11c5327dd06b23df82f7528566739 (patch)
treed29da122bb54ecc166d67e62e14d52784dc5d818 /gtk/gtkentrycompletion.c
parent289f3b1b2b20f38fdd88d85f0dd2850b2ccbae7f (diff)
downloadgtk+-eebb16eb1af11c5327dd06b23df82f7528566739.tar.gz
Add length to gtk_tree_path_get_indices
The old version wasn't introspectable as it didn't have a length return parameter. Also, delete gtk_tree_path_get_indices_with_depth, since it's no longer needed.
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 6225b41dda..3bd2b612da 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -920,7 +920,7 @@ gtk_entry_completion_action_button_press (GtkWidget *widget,
&path, NULL, NULL, NULL))
{
g_signal_emit (completion, entry_completion_signals[ACTION_ACTIVATED],
- 0, gtk_tree_path_get_indices (path)[0]);
+ 0, gtk_tree_path_get_indices (path, NULL)[0]);
gtk_tree_path_free (path);
_gtk_entry_completion_popdown (completion);