Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Archive
gnome-main-menu
Commits
06c7e0da
Commit
06c7e0da
authored
Mar 16, 2007
by
Jim Krehl
Browse files
works in glib > 2.8
svn path=/branches/bookmarks-reorg/; revision=236
parent
be255ea2
Changes
1
Hide whitespace changes
Inline
Side-by-side
libslab/libslab-bookmarkfile.c
View file @
06c7e0da
...
...
@@ -190,8 +190,8 @@ static void libslab_bookmark_file_add_item (LibSlabBookmarkFile *bo
static
time_t
timestamp_from_iso8601
(
const
gchar
*
iso_date
);
static
gchar
*
timestamp_to_iso8601
(
time_t
timestamp
);
static
time_t
mktime_utc
(
struct
tm
*
tm
);
static
gboolean
g
_time_val_from_iso8601
(
const
gchar
*
iso_date
,
GTimeVal
*
time_
);
static
gchar
*
g
_time_val_to_iso8601
(
GTimeVal
*
time_
);
static
gboolean
libslab
_time_val_from_iso8601
(
const
gchar
*
iso_date
,
GTimeVal
*
time_
);
static
gchar
*
libslab
_time_val_to_iso8601
(
GTimeVal
*
time_
);
/********************************
* BookmarkAppInfo *
...
...
@@ -1536,7 +1536,7 @@ timestamp_to_iso8601 (time_t timestamp)
stamp
.
tv_usec
=
0
;
}
return
g
_time_val_to_iso8601
(
&
stamp
);
return
libslab
_time_val_to_iso8601
(
&
stamp
);
}
static
time_t
...
...
@@ -1544,7 +1544,7 @@ timestamp_from_iso8601 (const gchar *iso_date)
{
GTimeVal
stamp
;
if
(
!
g
_time_val_from_iso8601
(
iso_date
,
&
stamp
))
if
(
!
libslab
_time_val_from_iso8601
(
iso_date
,
&
stamp
))
return
(
time_t
)
-
1
;
return
(
time_t
)
stamp
.
tv_sec
;
...
...
@@ -1597,7 +1597,7 @@ mktime_utc (struct tm *tm)
* Since: 2.12
*/
static
gboolean
g
_time_val_from_iso8601
(
const
gchar
*
iso_date
,
libslab
_time_val_from_iso8601
(
const
gchar
*
iso_date
,
GTimeVal
*
time_
)
{
struct
tm
tm
;
...
...
@@ -1686,7 +1686,7 @@ g_time_val_from_iso8601 (const gchar *iso_date,
* Since: 2.12
*/
static
gchar
*
g
_time_val_to_iso8601
(
GTimeVal
*
time_
)
libslab
_time_val_to_iso8601
(
GTimeVal
*
time_
)
{
gchar
*
retval
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment