[geany/geany] 1a6adc: Fix build with GLib < 2.30 (oops)

Colomban Wendling git-noreply at xxxxx
Tue Mar 3 14:12:52 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 03 Mar 2015 14:12:52 UTC
Commit:      1a6adc0d6363e5c52a328c64b4edc03d97723b53
             https://github.com/geany/geany/commit/1a6adc0d6363e5c52a328c64b4edc03d97723b53

Log Message:
-----------
Fix build with GLib < 2.30 (oops)


Modified Paths:
--------------
    src/ui_utils.c

Modified: src/ui_utils.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -1810,8 +1810,8 @@ gboolean ui_tree_view_find_previous(GtkTreeView *treeview, TVMatchCallback cb)
 static gboolean ui_tree_view_query_tooltip_cb(GtkWidget *widget, gint x, gint y,
 		gboolean keyboard_tip, GtkTooltip *tooltip, gpointer data)
 {
-	GValue value = G_VALUE_INIT;
-	GValue transformed = G_VALUE_INIT;
+	GValue value = { 0 };
+	GValue transformed = { 0 };
 	GtkTreeIter iter;
 	GtkTreePath *path;
 	GtkTreeModel *model;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list