[gnumeric] Compilation: anticipate g_object_ref changes
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Compilation: anticipate g_object_ref changes
- Date: Mon, 11 Dec 2017 17:49:41 +0000 (UTC)
commit 413e78ab03ad49f3ad17b6eef7c5cc6c6583946d
Author: Morten Welinder <terra gnome org>
Date: Mon Dec 11 12:49:25 2017 -0500
Compilation: anticipate g_object_ref changes
Going forward, g_object_ref will have a properly typed result.
src/widgets/gnumeric-text-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/widgets/gnumeric-text-view.c b/src/widgets/gnumeric-text-view.c
index 44ae4a0..6353528 100644
--- a/src/widgets/gnumeric-text-view.c
+++ b/src/widgets/gnumeric-text-view.c
@@ -180,7 +180,7 @@ gtv_build_toggle_button (GtkWidget *tb, GnmTextView *gtv,
gtk_toolbar_insert (GTK_TOOLBAR (tb), tb_button, -1);
g_signal_connect (G_OBJECT (tb_button), "toggled", cb, gtv);
- return g_object_ref (tb_button);
+ return GTK_TOGGLE_TOOL_BUTTON (g_object_ref (tb_button));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]