summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trg-status-bar.c2
-rw-r--r--src/trg-status-bar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-status-bar.c b/src/trg-status-bar.c
index bdc0a1d..cb28778 100644
--- a/src/trg-status-bar.c
+++ b/src/trg-status-bar.c
@@ -174,7 +174,7 @@ void trg_status_bar_update(TrgStatusBar * sb,
g_free(infoText);
}
-gchar *trg_status_bar_get_speed_text(TrgStatusBar *s)
+const gchar *trg_status_bar_get_speed_text(TrgStatusBar *s)
{
TrgStatusBarPrivate *priv = TRG_STATUS_BAR_GET_PRIVATE(s);
return gtk_label_get_text(GTK_LABEL(priv->speed_lbl));
diff --git a/src/trg-status-bar.h b/src/trg-status-bar.h
index fd7ddfc..d6f0557 100644
--- a/src/trg-status-bar.h
+++ b/src/trg-status-bar.h
@@ -59,6 +59,6 @@ void trg_status_bar_push_connection_msg(TrgStatusBar * sb,
const gchar * msg);
void trg_status_bar_reset(TrgStatusBar *sb);
void trg_status_bar_clear_indicators(TrgStatusBar *sb);
-gchar *trg_status_bar_get_speed_text(TrgStatusBar *s);
+const gchar *trg_status_bar_get_speed_text(TrgStatusBar *s);
#endif /* TRG_STATUS_BAR_H_ */