qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Remove extra g_strdup.
release-2.x.y
2019-04-20, Elliott Sales de Andrade
9cc02e895ebc
Parents
d0d608c907a2
Children
9a81bdc71f40
1fecc17b2bb5
960c2aaae72d
Remove extra g_strdup.
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
gnttextview.c
--- a/gnttextview.c Fri Apr 19 18:51:55 2019 +0000
+++ b/gnttextview.c Sat Apr 20 02:17:13 2019 -0400
@@ -622,7 +622,7 @@
{
g_return_val_if_fail(GNT_IS_TEXT_VIEW(view), NULL);
- return g_strdup(view->string->str);
+ return view->string->str;
}
void gnt_text_view_scroll(GntTextView *view, int scroll)