[gedit/wip/reveal3] Minor cleanup
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/reveal3] Minor cleanup
- Date: Sat, 9 Feb 2013 12:48:48 +0000 (UTC)
commit 2d47201cfae4c764e087699720667aeec6a8b2cb
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Feb 9 13:48:28 2013 +0100
Minor cleanup
gedit/gedit-tab.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index d482a59..b71af0a 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -526,14 +526,6 @@ document_modified_changed (GtkTextBuffer *document,
}
static void
-on_revealed_changed (GtkWidget *revealer,
- GParamSpec *pspec,
- gpointer useless)
-{
- gtk_widget_destroy (revealer);
-}
-
-static void
set_info_bar (GeditTab *tab,
GtkWidget *info_bar)
{
@@ -546,7 +538,7 @@ set_info_bar (GeditTab *tab,
{
revealer = gtk_widget_get_parent (tab->priv->info_bar);
g_signal_connect (revealer, "notify::revealed",
- G_CALLBACK(on_revealed_changed), NULL);
+ G_CALLBACK(gtk_widget_destroy), NULL);
gd_revealer_set_revealed (GD_REVEALER (revealer), FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]