summaryrefslogtreecommitdiff
path: root/devel/glibmm/patches/patch-aa
blob: f8e94cca59064611e856b429e4fb4941a017f60f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.3 2006/12/26 11:05:56 wiz Exp $

--- glib/glibmm/date.cc.orig	2006-09-21 19:47:43.000000000 +0000
+++ glib/glibmm/date.cc
@@ -78,13 +78,14 @@ void Date::set_time(GTime time)
   //This method, and the C function that it wraps, are deprecated.
   g_date_set_time(&gobject_, time);
 }
-#endif // GLIBMM_DISABLE_DEPRECATED
+#else
 
 
 void Date::set_time(time_t timet)
 {
   g_date_set_time_t(&gobject_, timet);
 }
+#endif // GLIBMM_DISABLE_DEPRECATED
 
 void Date::set_time_current()
 {