aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-03-03 09:44:42 -0500
committerMichael Terry <mike@mterry.name>2011-03-03 09:44:42 -0500
commit55736aa91ce77af6127ec115860cb2379158d48b (patch)
tree4aa83a4ea98bc77e0074008753b96733252ff884 /src/datetime-prefs.c
parent6ee562ac5028df8f28e3559656117d7093b0f73c (diff)
downloadayatana-indicator-datetime-55736aa91ce77af6127ec115860cb2379158d48b.tar.gz
ayatana-indicator-datetime-55736aa91ce77af6127ec115860cb2379158d48b.tar.bz2
ayatana-indicator-datetime-55736aa91ce77af6127ec115860cb2379158d48b.zip
add back missing unref
Diffstat (limited to 'src/datetime-prefs.c')
-rw-r--r--src/datetime-prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index b6fd1c9..901c290 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -304,6 +304,7 @@ input_time_text (GtkWidget * spinner, gdouble * value, gpointer user_data)
hour = g_date_time_get_hour (now);
minute = g_date_time_get_minute (now);
second = g_date_time_get_second (now);
+ g_date_time_unref (now);
/* Parse this string as if it were in the output format */
gint scanned = 0;