[gtksourceview] Code cleanup.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Code cleanup.
- Date: Sun, 16 Jan 2011 12:56:24 +0000 (UTC)
commit c26ee5850e54c0f95c565ec2208baf75c34c62fe
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Jan 15 22:27:33 2011 +0100
Code cleanup.
gtksourceview/gtksourcecompletion.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index d2a207d..82d46af 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -935,7 +935,7 @@ update_proposal_info_real (GtkSourceCompletion *completion,
gtk_label_set_markup (GTK_LABEL (info_widget), _("No extra information available"));
gtk_source_completion_info_set_widget (info_window,
- info_widget);
+ info_widget);
gtk_widget_hide (GTK_WIDGET (info_window));
return;
@@ -972,8 +972,7 @@ update_proposal_info_real (GtkSourceCompletion *completion,
}
}
- gtk_source_completion_info_set_widget (info_window,
- info_widget);
+ gtk_source_completion_info_set_widget (info_window, info_widget);
if (prov_update_info)
{
@@ -982,13 +981,13 @@ update_proposal_info_real (GtkSourceCompletion *completion,
info_window);
}
- g_signal_handlers_block_by_func (completion->priv->info_window,
+ g_signal_handlers_block_by_func (info_window,
G_CALLBACK (show_info_cb),
completion);
- gtk_widget_show (completion->priv->info_window);
+ gtk_widget_show (GTK_WIDGET (info_window));
- g_signal_handlers_unblock_by_func (completion->priv->info_window,
+ g_signal_handlers_unblock_by_func (info_window,
G_CALLBACK (show_info_cb),
completion);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]