summaryrefslogtreecommitdiff
path: root/src/up-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/up-history.c')
-rw-r--r--src/up-history.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/up-history.c b/src/up-history.c
index c16b3c1..169d361 100644
--- a/src/up-history.c
+++ b/src/up-history.c
@@ -937,8 +937,6 @@ up_history_finalize (GObject *object)
UpHistory *
up_history_new (void)
{
- UpHistory *history;
- history = g_object_new (UP_TYPE_HISTORY, NULL);
- return UP_HISTORY (history);
+ return g_object_new (UP_TYPE_HISTORY, NULL);
}