[gtksourceview/wip/completion-model: 12/19] Completion: simplify on_row_inserted_cb()
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/completion-model: 12/19] Completion: simplify on_row_inserted_cb()
- Date: Tue, 22 Jan 2013 16:35:28 +0000 (UTC)
commit e9a9b44d99c35d95a2bd43149bda3d34cb9c28dc
Author: SÃbastien Wilmet <swilmet gnome org>
Date: Tue Jan 22 12:48:09 2013 +0100
Completion: simplify on_row_inserted_cb()
Now we are sure that the completion window is visible when
on_row_inserted_cb() is called.
gtksourceview/gtksourcecompletion.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 72568aa..5f7b23a 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -2139,29 +2139,6 @@ on_row_inserted_cb (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkSourceCompletion *completion)
{
- if (!gtk_widget_get_visible (completion->priv->window))
- {
- if (!completion->priv->remember_info_visibility)
- {
- completion->priv->info_visible = FALSE;
- }
-
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (completion->priv->info_button),
- completion->priv->info_visible);
-
- DEBUG({
- g_print ("Emitting show\n");
- });
-
- g_signal_emit (completion, signals[SHOW], 0);
- }
- else
- {
- DEBUG({
- g_print ("Already visible\n");
- });
- }
-
check_first_selected (completion);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]