[gnome-builder] omnibar: no need to re-initialize value



commit c6ff73e41487166cf8f176ee329c4f41cc9f596f
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jul 6 20:55:01 2016 -0700

    omnibar: no need to re-initialize value

 libide/workbench/ide-omni-bar.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libide/workbench/ide-omni-bar.c b/libide/workbench/ide-omni-bar.c
index 9503387..7e04c19 100644
--- a/libide/workbench/ide-omni-bar.c
+++ b/libide/workbench/ide-omni-bar.c
@@ -211,7 +211,6 @@ add_target_prefix_transform (GBinding     *binding,
   g_assert (G_VALUE_HOLDS_STRING (from_value));
   g_assert (to_value != NULL);
 
-  g_value_init (to_value, G_TYPE_STRING);
   g_value_take_string (to_value,
                        g_strdup_printf ("%s: %s",
                                         /* Translators: "Target" is providing context to the selected build 
configuration */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]