gio2 0.90.5-x86-mingw32 → 0.90.6-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +41 -0
- data/Rakefile +9 -70
- data/ext/gio2/extconf.rb +9 -9
- data/ext/gio2/gasyncinitable.c +0 -1
- data/ext/gio2/gbufferedinputstream.c +0 -19
- data/ext/gio2/gbufferedoutputstream.c +0 -34
- data/ext/gio2/gcharsetconverter.c +0 -17
- data/ext/gio2/gcontenttype.c +1 -8
- data/ext/gio2/gconverterinputstream.c +0 -7
- data/ext/gio2/gconverteroutputstream.c +0 -7
- data/ext/gio2/gdatainputstream.c +34 -57
- data/ext/gio2/gdataoutputstream.c +0 -18
- data/ext/gio2/gdesktopappinfo.c +0 -2
- data/ext/gio2/gemblem.c +0 -19
- data/ext/gio2/gfile.c +4 -6
- data/ext/gio2/gfileattribute.c +3 -155
- data/ext/gio2/gfileattributeinfo.c +89 -0
- data/ext/gio2/gfileattributeinfolist.c +109 -0
- data/ext/gio2/gfileenumerator.c +0 -2
- data/ext/gio2/gfileicon.c +0 -7
- data/ext/gio2/gfileinfo.c +4 -11
- data/ext/gio2/gfileinputstream.c +0 -2
- data/ext/gio2/gfileiostream.c +0 -2
- data/ext/gio2/gfilemonitor.c +0 -19
- data/ext/gio2/gfileoutputstream.c +1 -5
- data/ext/gio2/gfilterinputstream.c +1 -30
- data/ext/gio2/gfilteroutputstream.c +1 -30
- data/ext/gio2/gicon.c +0 -2
- data/ext/gio2/ginetaddress.c +0 -72
- data/ext/gio2/ginetsocketaddress.c +0 -16
- data/ext/gio2/ginputstream.c +0 -2
- data/ext/gio2/gio2.c +11 -1
- data/ext/gio2/gio2.h +9 -1
- data/ext/gio2/gioerror.c +4 -1
- data/ext/gio2/giomodule.c +2 -2
- data/ext/gio2/gioscheduler.c +4 -6
- data/ext/gio2/giostream.c +0 -23
- data/ext/gio2/gloadableicon.c +0 -1
- data/ext/gio2/gmemoryoutputstream.c +0 -24
- data/ext/gio2/gmount.c +1 -0
- data/ext/gio2/gmountoperation.c +1 -103
- data/ext/gio2/gnetworkaddress.c +0 -14
- data/ext/gio2/gnetworkservice.c +0 -21
- data/ext/gio2/goutputstream.c +8 -18
- data/ext/gio2/gresolver.c +0 -2
- data/ext/gio2/gsocket.c +2 -80
- data/ext/gio2/gsocketaddress.c +1 -13
- data/ext/gio2/gsocketclient.c +0 -68
- data/ext/gio2/gsocketconnection.c +1 -8
- data/ext/gio2/gsocketcontrolmessage.c +0 -2
- data/ext/gio2/gsocketlistener.c +27 -21
- data/ext/gio2/gtcpconnection.c +1 -22
- data/ext/gio2/gthreadedsocketservice.c +6 -5
- data/ext/gio2/gunixfdlist.c +1 -1
- data/ext/gio2/gunixfdmessage.c +0 -9
- data/ext/gio2/gunixinputstream.c +0 -24
- data/ext/gio2/gunixmounts.c +1 -4
- data/ext/gio2/gunixoutputstream.c +0 -24
- data/ext/gio2/gunixsocketaddress.c +5 -17
- data/ext/gio2/gvfs.c +0 -2
- data/ext/gio2/gvolumemonitor.c +0 -2
- data/ext/gio2/gzlibcompressor.c +3 -0
- data/ext/gio2/util.c +3 -0
- data/lib/1.8/gio2.so +0 -0
- data/lib/1.9/gio2.so +0 -0
- data/lib/gio2.rb +19 -1
- data/test/load-test.rb +14 -0
- data/test/test_bufferedinputstream.rb +2 -0
- data/test/test_charsetconverter.rb +2 -0
- data/test/test_datainputstream.rb +7 -0
- data/test/test_fileenumerator.rb +8 -0
- data/test/test_filemonitor.rb +2 -0
- data/test/test_inetaddress.rb +8 -0
- metadata +90 -835
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +0 -123
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +0 -188
- data/vendor/local/bin/glib-mkenums +0 -537
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/include/autosprintf.h +0 -66
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -236
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +0 -103
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +0 -57
- data/vendor/local/include/glib-2.0/gio/gconverter.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -115
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +0 -46
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +0 -562
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +0 -100
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +0 -286
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +0 -149
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +0 -94
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +0 -54
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +0 -44
- data/vendor/local/include/glib-2.0/gio/gdrive.h +0 -225
- data/vendor/local/include/glib-2.0/gio/gemblem.h +0 -58
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gfile.h +0 -1017
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +0 -77
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +0 -56
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +0 -952
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +0 -95
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +0 -119
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gicon.h +0 -91
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +0 -103
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +0 -69
- data/vendor/local/include/glib-2.0/gio/ginitable.h +0 -96
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +0 -172
- data/vendor/local/include/glib-2.0/gio/gio.h +0 -122
- data/vendor/local/include/glib-2.0/gio/gioenums.h +0 -1221
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +0 -121
- data/vendor/local/include/glib-2.0/gio/gioerror.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giomodule.h +0 -132
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +0 -52
- data/vendor/local/include/glib-2.0/gio/giostream.h +0 -112
- data/vendor/local/include/glib-2.0/gio/giotypes.h +0 -375
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +0 -97
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +0 -82
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +0 -98
- data/vendor/local/include/glib-2.0/gio/gmount.h +0 -242
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +0 -62
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +0 -73
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +0 -71
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +0 -207
- data/vendor/local/include/glib-2.0/gio/gpermission.h +0 -118
- data/vendor/local/include/glib-2.0/gio/gproxy.h +0 -123
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +0 -76
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -75
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +0 -96
- data/vendor/local/include/glib-2.0/gio/gresolver.h +0 -167
- data/vendor/local/include/glib-2.0/gio/gseekable.h +0 -99
- data/vendor/local/include/glib-2.0/gio/gsettings.h +0 -258
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +0 -45
- data/vendor/local/include/glib-2.0/gio/gsocket.h +0 -194
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +0 -79
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -89
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +0 -152
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +0 -74
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +0 -91
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +0 -105
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +0 -138
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +0 -88
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +0 -52
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +0 -68
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +0 -63
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +0 -81
- data/vendor/local/include/glib-2.0/gio/gvfs.h +0 -125
- data/vendor/local/include/glib-2.0/gio/gvolume.h +0 -211
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -150
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +0 -60
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +0 -57
- data/vendor/local/include/glib-2.0/glib-object.h +0 -42
- data/vendor/local/include/glib-2.0/glib.h +0 -99
- data/vendor/local/include/glib-2.0/glib/galloca.h +0 -110
- data/vendor/local/include/glib-2.0/glib/garray.h +0 -179
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gatomic.h +0 -105
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +0 -68
- data/vendor/local/include/glib-2.0/glib/gbase64.h +0 -57
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +0 -43
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +0 -215
- data/vendor/local/include/glib-2.0/glib/gcache.h +0 -69
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gconvert.h +0 -162
- data/vendor/local/include/glib-2.0/glib/gdataset.h +0 -122
- data/vendor/local/include/glib-2.0/glib/gdate.h +0 -263
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +0 -217
- data/vendor/local/include/glib-2.0/glib/gdir.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gerror.h +0 -98
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +0 -128
- data/vendor/local/include/glib-2.0/glib/ghash.h +0 -166
- data/vendor/local/include/glib-2.0/glib/ghook.h +0 -181
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +0 -40
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +0 -38
- data/vendor/local/include/glib-2.0/glib/gi18n.h +0 -34
- data/vendor/local/include/glib-2.0/glib/giochannel.h +0 -366
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +0 -266
- data/vendor/local/include/glib-2.0/glib/glist.h +0 -120
- data/vendor/local/include/glib-2.0/glib/gmacros.h +0 -284
- data/vendor/local/include/glib-2.0/glib/gmain.h +0 -531
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +0 -163
- data/vendor/local/include/glib-2.0/glib/gmem.h +0 -309
- data/vendor/local/include/glib-2.0/glib/gmessages.h +0 -343
- data/vendor/local/include/glib-2.0/glib/gnode.h +0 -290
- data/vendor/local/include/glib-2.0/glib/goption.h +0 -370
- data/vendor/local/include/glib-2.0/glib/gpattern.h +0 -49
- data/vendor/local/include/glib-2.0/glib/gpoll.h +0 -117
- data/vendor/local/include/glib-2.0/glib/gprimes.h +0 -51
- data/vendor/local/include/glib-2.0/glib/gprintf.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqsort.h +0 -46
- data/vendor/local/include/glib-2.0/glib/gquark.h +0 -52
- data/vendor/local/include/glib-2.0/glib/gqueue.h +0 -127
- data/vendor/local/include/glib-2.0/glib/grand.h +0 -85
- data/vendor/local/include/glib-2.0/glib/gregex.h +0 -471
- data/vendor/local/include/glib-2.0/glib/grel.h +0 -101
- data/vendor/local/include/glib-2.0/glib/gscanner.h +0 -278
- data/vendor/local/include/glib-2.0/glib/gsequence.h +0 -128
- data/vendor/local/include/glib-2.0/glib/gshell.h +0 -55
- data/vendor/local/include/glib-2.0/glib/gslice.h +0 -86
- data/vendor/local/include/glib-2.0/glib/gslist.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gspawn.h +0 -139
- data/vendor/local/include/glib-2.0/glib/gstdio.h +0 -147
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +0 -269
- data/vendor/local/include/glib-2.0/glib/gstring.h +0 -178
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +0 -297
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -407
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +0 -114
- data/vendor/local/include/glib-2.0/glib/gtimer.h +0 -65
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +0 -44
- data/vendor/local/include/glib-2.0/glib/gtree.h +0 -91
- data/vendor/local/include/glib-2.0/glib/gtypes.h +0 -451
- data/vendor/local/include/glib-2.0/glib/gunicode.h +0 -421
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +0 -81
- data/vendor/local/include/glib-2.0/glib/gutils.h +0 -490
- data/vendor/local/include/glib-2.0/glib/gvariant.h +0 -248
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +0 -334
- data/vendor/local/include/glib-2.0/glib/gwin32.h +0 -114
- data/vendor/local/include/glib-2.0/gmodule.h +0 -101
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +0 -136
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +0 -248
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +0 -251
- data/vendor/local/include/glib-2.0/gobject/genums.h +0 -261
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +0 -186
- data/vendor/local/include/glib-2.0/gobject/gobject.h +0 -567
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +0 -193
- data/vendor/local/include/glib-2.0/gobject/gparam.h +0 -415
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +0 -1137
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +0 -509
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +0 -51
- data/vendor/local/include/glib-2.0/gobject/gtype.h +0 -1736
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +0 -263
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +0 -134
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +0 -159
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +0 -77
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +0 -227
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +0 -260
- data/vendor/local/include/libintl.h +0 -464
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +0 -1143
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +0 -1452
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +0 -284
- data/vendor/local/lib/gmodule-2.0.def +0 -11
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +0 -370
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +0 -3
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +0 -31
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +0 -15
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +0 -14
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +0 -11
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +0 -11
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +0 -81
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +0 -3
- data/vendor/local/manifest/glib-dev_2.26.0-2_win32.mft +0 -570
- data/vendor/local/manifest/glib_2.26.0-2_win32.mft +0 -102
- data/vendor/local/share/aclocal/glib-2.0.m4 +0 -211
- data/vendor/local/share/aclocal/glib-gettext.m4 +0 -432
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +0 -165
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +0 -160
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +0 -8
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +0 -305
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +0 -356
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +0 -11
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +0 -10
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +0 -6
- data/vendor/local/share/doc/gettext/envsubst.1.html +0 -213
- data/vendor/local/share/doc/gettext/gettext.1.html +0 -266
- data/vendor/local/share/doc/gettext/gettext.3.html +0 -186
- data/vendor/local/share/doc/gettext/ngettext.1.html +0 -280
- data/vendor/local/share/doc/gettext/ngettext.3.html +0 -143
- data/vendor/local/share/doc/gettext/textdomain.3.html +0 -150
- data/vendor/local/share/doc/glib-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/glib-dev-2.26.0/COPYING +0 -482
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +0 -174
- data/vendor/local/share/glib-2.0/gdb/glib.py +0 -249
- data/vendor/local/share/glib-2.0/gdb/gobject.py +0 -305
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +0 -111
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +0 -279
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +0 -60
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +0 -1403
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +0 -733
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +0 -563
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +0 -291
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +0 -620
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +0 -245
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +0 -423
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +0 -398
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +0 -254
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +0 -6211
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +0 -1833
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +0 -618
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +0 -2050
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +0 -1124
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +0 -1215
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +0 -540
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +0 -1416
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +0 -272
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +0 -206
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +0 -7462
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +0 -120
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +0 -516
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +0 -3144
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +0 -262
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +0 -353
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +0 -188
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +0 -189
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +0 -261
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +0 -479
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +0 -331
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +0 -717
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +0 -196
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +0 -388
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +0 -808
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +0 -185
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +0 -393
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +0 -1465
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +0 -848
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +0 -343
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +0 -311
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +0 -1012
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +0 -560
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +0 -312
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +0 -348
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +0 -301
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +0 -787
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +0 -350
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +0 -2424
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +0 -609
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +0 -1193
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +0 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +0 -2438
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +0 -1292
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +0 -513
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +0 -337
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +0 -275
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +0 -745
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +0 -258
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +0 -165
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +0 -377
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +0 -197
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +0 -298
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +0 -222
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +0 -389
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +0 -288
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +0 -237
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +0 -491
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +0 -274
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +0 -1028
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +0 -705
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +0 -252
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +0 -170
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +0 -65
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +0 -153
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +0 -155
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +0 -1084
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +0 -223
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +0 -1598
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +0 -112
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +0 -6250
- data/vendor/local/share/gtk-doc/html/gio/async.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +0 -207
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +0 -180
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +0 -57
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +0 -46
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +0 -48
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +0 -277
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +0 -95
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +0 -70
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +0 -130
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +0 -202
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +0 -96
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +0 -823
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +0 -828
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +0 -109
- data/vendor/local/share/gtk-doc/html/gio/extending.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +0 -59
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +0 -243
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +0 -316
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +0 -1117
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +0 -216
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +0 -339
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +0 -473
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +0 -391
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +0 -159
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +0 -908
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +0 -933
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +0 -409
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +0 -297
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +0 -313
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +0 -736
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +0 -909
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +0 -666
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +0 -123
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +0 -1736
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +0 -2006
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +0 -102
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +0 -53
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/index.html +0 -435
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -2513
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +0 -62
- data/vendor/local/share/gtk-doc/html/gio/networking.html +0 -69
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +0 -39
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +0 -390
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +0 -50
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/settings.html +0 -38
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +0 -92
- data/vendor/local/share/gtk-doc/html/gio/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gio/tools.html +0 -44
- data/vendor/local/share/gtk-doc/html/gio/types.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +0 -33
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +0 -47
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +0 -77
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +0 -180
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +0 -312
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +0 -559
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +0 -362
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +0 -102
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +0 -124
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +0 -83
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +0 -420
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +0 -359
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +0 -396
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +0 -417
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +0 -158
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +0 -419
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +0 -8214
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +0 -893
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +0 -818
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +0 -414
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +0 -802
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +0 -372
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +0 -500
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +0 -2056
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +0 -560
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +0 -1686
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +0 -398
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +0 -1094
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +0 -1671
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +0 -460
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +0 -528
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +0 -2045
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +0 -1278
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +0 -1406
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +0 -548
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +0 -1026
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +0 -1852
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +0 -2201
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +0 -239
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +0 -4278
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +0 -1864
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +0 -295
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +0 -1512
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +0 -1367
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +0 -229
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +0 -692
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +0 -2196
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +0 -2740
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +0 -612
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +0 -1451
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +0 -389
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +0 -1033
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +0 -141
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +0 -706
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +0 -510
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +0 -748
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +0 -1105
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +0 -1552
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +0 -1468
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +0 -194
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +0 -2745
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +0 -752
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +0 -269
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +0 -578
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +0 -532
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +0 -1353
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +0 -238
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +0 -1282
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +0 -1213
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +0 -924
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +0 -470
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +0 -301
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +0 -2960
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +0 -1291
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +0 -1805
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +0 -3478
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +0 -606
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +0 -3411
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +0 -245
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +0 -188
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +0 -263
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +0 -400
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +0 -3448
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +0 -253
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +0 -438
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +0 -476
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +0 -466
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +0 -159
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +0 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +0 -160
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +0 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +0 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +0 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +0 -2217
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +0 -121
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +0 -319
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +0 -118
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +0 -2183
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +0 -2671
- data/vendor/local/share/gtk-doc/html/glib/glib.html +0 -80
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +0 -72
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +0 -131
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +0 -1288
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +0 -344
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -2846
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/glib/tools.html +0 -41
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +0 -803
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +0 -710
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +0 -453
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +0 -51
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +0 -38
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +0 -46
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +0 -73
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +0 -201
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +0 -178
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +0 -42
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +0 -50
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +0 -2721
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +0 -136
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +0 -293
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +0 -263
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +0 -92
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +0 -214
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +0 -361
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +0 -307
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +0 -417
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +0 -2412
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +0 -847
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +0 -1433
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +0 -776
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +0 -2741
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +0 -5555
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +0 -2875
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +0 -4460
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +0 -416
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +0 -260
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +0 -234
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +0 -270
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +0 -117
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +0 -762
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +0 -801
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +0 -143
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +0 -287
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +0 -316
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +0 -76
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +0 -100
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +0 -86
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +0 -113
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +0 -122
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +0 -257
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +0 -283
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +0 -125
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +0 -167
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +0 -160
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +0 -121
- data/vendor/local/share/gtk-doc/html/gobject/index.html +0 -192
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -786
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +0 -72
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +0 -80
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +0 -66
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +0 -85
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +0 -47
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +0 -377
- data/vendor/local/share/gtk-doc/html/gobject/style.css +0 -265
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +0 -35
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +0 -40
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +0 -63
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +0 -55
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +0 -43
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +0 -77
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +0 -54
- data/vendor/local/share/man/man1/gettext.1 +0 -69
- data/vendor/local/share/man/man1/glib-genmarshal.1 +0 -312
- data/vendor/local/share/man/man1/glib-mkenums.1 +0 -246
- data/vendor/local/share/man/man1/gobject-query.1 +0 -83
- data/vendor/local/share/man/man1/ngettext.1 +0 -68
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +0 -72
- data/vendor/local/share/man/man3/bindtextdomain.3 +0 -69
- data/vendor/local/share/man/man3/dcgettext.3 +0 -1
- data/vendor/local/share/man/man3/dcngettext.3 +0 -1
- data/vendor/local/share/man/man3/dgettext.3 +0 -1
- data/vendor/local/share/man/man3/dngettext.3 +0 -1
- data/vendor/local/share/man/man3/gettext.3 +0 -99
- data/vendor/local/share/man/man3/ngettext.3 +0 -60
- data/vendor/local/share/man/man3/textdomain.3 +0 -57
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +0 -10423
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +0 -457
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.log +0 -2867
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +0 -64
@@ -1,2056 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>Bookmark file parser</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
-
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
-
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
|
-
<link rel="prev" href="glib-Key-value-file-parser.html" title="Key-value file parser">
|
10
|
-
<link rel="next" href="glib-Testing.html" title="Testing">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
-
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
-
</head>
|
14
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
-
<tr valign="middle">
|
17
|
-
<td><a accesskey="p" href="glib-Key-value-file-parser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="glib-utilities.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
-
<th width="100%" align="center">GLib Reference Manual</th>
|
21
|
-
<td><a accesskey="n" href="glib-Testing.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
-
</tr>
|
23
|
-
<tr><td colspan="5" class="shortcuts">
|
24
|
-
<a href="#glib-Bookmark-file-parser.synopsis" class="shortcut">Top</a>
|
25
|
-
|
|
26
|
-
<a href="#glib-Bookmark-file-parser.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
29
|
-
<div class="refentry">
|
30
|
-
<a name="glib-Bookmark-file-parser"></a><div class="titlepage"></div>
|
31
|
-
<div class="refnamediv"><table width="100%"><tr>
|
32
|
-
<td valign="top">
|
33
|
-
<h2><span class="refentrytitle"><a name="glib-Bookmark-file-parser.top_of_page"></a>Bookmark file parser</span></h2>
|
34
|
-
<p>Bookmark file parser — parses files containing bookmarks</p>
|
35
|
-
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
37
|
-
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="glib-Bookmark-file-parser.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">
|
41
|
-
#include <glib.h>
|
42
|
-
|
43
|
-
<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a>;
|
44
|
-
#define <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR:CAPS" title="G_BOOKMARK_FILE_ERROR">G_BOOKMARK_FILE_ERROR</a>
|
45
|
-
enum <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError">GBookmarkFileError</a>;
|
46
|
-
<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> * <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-new" title="g_bookmark_file_new ()">g_bookmark_file_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
47
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-free" title="g_bookmark_file_free ()">g_bookmark_file_free</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>);
|
48
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-file" title="g_bookmark_file_load_from_file ()">g_bookmark_file_load_from_file</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
49
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
50
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
51
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data" title="g_bookmark_file_load_from_data ()">g_bookmark_file_load_from_data</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
52
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *data</code></em>,
|
53
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
54
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
55
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data-dirs" title="g_bookmark_file_load_from_data_dirs ()">g_bookmark_file_load_from_data_dirs</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
56
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
57
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **full_path</code></em>,
|
58
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
59
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-data" title="g_bookmark_file_to_data ()">g_bookmark_file_to_data</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
60
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
61
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
62
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-file" title="g_bookmark_file_to_file ()">g_bookmark_file_to_file</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
63
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
64
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
65
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-item" title="g_bookmark_file_has_item ()">g_bookmark_file_has_item</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
66
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>);
|
67
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-group" title="g_bookmark_file_has_group ()">g_bookmark_file_has_group</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
68
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
69
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group</code></em>,
|
70
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
71
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-application" title="g_bookmark_file_has_application ()">g_bookmark_file_has_application</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
72
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
73
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
75
|
-
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-size" title="g_bookmark_file_get_size ()">g_bookmark_file_get_size</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>);
|
76
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-uris" title="g_bookmark_file_get_uris ()">g_bookmark_file_get_uris</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
77
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);
|
78
|
-
|
79
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-title" title="g_bookmark_file_get_title ()">g_bookmark_file_get_title</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
80
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
81
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
82
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-description" title="g_bookmark_file_get_description ()">g_bookmark_file_get_description</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
83
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
84
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
85
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-mime-type" title="g_bookmark_file_get_mime_type ()">g_bookmark_file_get_mime_type</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
86
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
87
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
88
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-is-private" title="g_bookmark_file_get_is_private ()">g_bookmark_file_get_is_private</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
89
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
90
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
91
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-icon" title="g_bookmark_file_get_icon ()">g_bookmark_file_get_icon</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
92
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
93
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **href</code></em>,
|
94
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **mime_type</code></em>,
|
95
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
96
|
-
<span class="returnvalue">time_t</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-added" title="g_bookmark_file_get_added ()">g_bookmark_file_get_added</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
97
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
98
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
99
|
-
<span class="returnvalue">time_t</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-modified" title="g_bookmark_file_get_modified ()">g_bookmark_file_get_modified</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
100
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
101
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
102
|
-
<span class="returnvalue">time_t</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-visited" title="g_bookmark_file_get_visited ()">g_bookmark_file_get_visited</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
103
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
104
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
105
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-groups" title="g_bookmark_file_get_groups ()">g_bookmark_file_get_groups</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
106
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
107
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
108
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
109
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-applications" title="g_bookmark_file_get_applications ()">g_bookmark_file_get_applications</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
110
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
111
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
112
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
113
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-app-info" title="g_bookmark_file_get_app_info ()">g_bookmark_file_get_app_info</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
114
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
115
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
116
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **exec</code></em>,
|
117
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> *count</code></em>,
|
118
|
-
<em class="parameter"><code><span class="type">time_t</span> *stamp</code></em>,
|
119
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
120
|
-
|
121
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-title" title="g_bookmark_file_set_title ()">g_bookmark_file_set_title</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
122
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
123
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *title</code></em>);
|
124
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-description" title="g_bookmark_file_set_description ()">g_bookmark_file_set_description</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
125
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
126
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *description</code></em>);
|
127
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-mime-type" title="g_bookmark_file_set_mime_type ()">g_bookmark_file_set_mime_type</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
128
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
129
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mime_type</code></em>);
|
130
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-is-private" title="g_bookmark_file_set_is_private ()">g_bookmark_file_set_is_private</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
131
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
132
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> is_private</code></em>);
|
133
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-icon" title="g_bookmark_file_set_icon ()">g_bookmark_file_set_icon</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
134
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
135
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *href</code></em>,
|
136
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mime_type</code></em>);
|
137
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-added" title="g_bookmark_file_set_added ()">g_bookmark_file_set_added</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
138
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
139
|
-
<em class="parameter"><code><span class="type">time_t</span> added</code></em>);
|
140
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-groups" title="g_bookmark_file_set_groups ()">g_bookmark_file_set_groups</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
141
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
142
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **groups</code></em>,
|
143
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);
|
144
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-modified" title="g_bookmark_file_set_modified ()">g_bookmark_file_set_modified</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
145
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
146
|
-
<em class="parameter"><code><span class="type">time_t</span> modified</code></em>);
|
147
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-visited" title="g_bookmark_file_set_visited ()">g_bookmark_file_set_visited</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
148
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
149
|
-
<em class="parameter"><code><span class="type">time_t</span> visited</code></em>);
|
150
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-app-info" title="g_bookmark_file_set_app_info ()">g_bookmark_file_set_app_info</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
151
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
152
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
153
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exec</code></em>,
|
154
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> count</code></em>,
|
155
|
-
<em class="parameter"><code><span class="type">time_t</span> stamp</code></em>,
|
156
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
157
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-group" title="g_bookmark_file_add_group ()">g_bookmark_file_add_group</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
158
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
159
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group</code></em>);
|
160
|
-
<span class="returnvalue">void</span> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-application" title="g_bookmark_file_add_application ()">g_bookmark_file_add_application</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
161
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
162
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
163
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exec</code></em>);
|
164
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-group" title="g_bookmark_file_remove_group ()">g_bookmark_file_remove_group</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
165
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
166
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group</code></em>,
|
167
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
168
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-application" title="g_bookmark_file_remove_application ()">g_bookmark_file_remove_application</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
169
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
170
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
171
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
172
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-item" title="g_bookmark_file_remove_item ()">g_bookmark_file_remove_item</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
173
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
174
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
175
|
-
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-move-item" title="g_bookmark_file_move_item ()">g_bookmark_file_move_item</a> (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
176
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *old_uri</code></em>,
|
177
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *new_uri</code></em>,
|
178
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);
|
179
|
-
</pre>
|
180
|
-
</div>
|
181
|
-
<div class="refsect1">
|
182
|
-
<a name="glib-Bookmark-file-parser.description"></a><h2>Description</h2>
|
183
|
-
<p>
|
184
|
-
GBookmarkFile lets you parse, edit or create files containing bookmarks
|
185
|
-
to URI, along with some meta-data about the resource pointed by the URI
|
186
|
-
like its MIME type, the application that is registering the bookmark and
|
187
|
-
the icon that should be used to represent the bookmark. The data is stored
|
188
|
-
using the
|
189
|
-
<a class="ulink" href="http://www.gnome.org/~ebassi/bookmark-spec" target="_top">Desktop Bookmark
|
190
|
-
Specification</a>.
|
191
|
-
</p>
|
192
|
-
<p>
|
193
|
-
The syntax of the bookmark files is described in detail inside the Desktop
|
194
|
-
Bookmark Specification, here is a quick summary: bookmark files use a
|
195
|
-
sub-class of the <a class="ulink" href="" target="_top">XML Bookmark Exchange Language</a>
|
196
|
-
specification, consisting of valid UTF-8 encoded XML, under the
|
197
|
-
<code class="literal">xbel</code> root element; each bookmark is stored inside a
|
198
|
-
<code class="literal">bookmark</code> element, using its URI: no relative paths can
|
199
|
-
be used inside a bookmark file. The bookmark may have a user defined title
|
200
|
-
and description, to be used instead of the URI. Under the
|
201
|
-
<code class="literal">metadata</code> element, with its <code class="literal">owner</code>
|
202
|
-
attribute set to <code class="literal">http://freedesktop.org</code>, is stored the
|
203
|
-
meta-data about a resource pointed by its URI. The meta-data consists of
|
204
|
-
the resource's MIME type; the applications that have registered a bookmark;
|
205
|
-
the groups to which a bookmark belongs to; a visibility flag, used to set
|
206
|
-
the bookmark as "private" to the applications and groups that has it
|
207
|
-
registered; the URI and MIME type of an icon, to be used when displaying
|
208
|
-
the bookmark inside a GUI.
|
209
|
-
</p>
|
210
|
-
<div class="informalexample">
|
211
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
212
|
-
<tbody>
|
213
|
-
<tr>
|
214
|
-
<td class="listing_lines" align="right"><pre>1
|
215
|
-
2
|
216
|
-
3
|
217
|
-
4
|
218
|
-
5
|
219
|
-
6
|
220
|
-
7
|
221
|
-
8
|
222
|
-
9
|
223
|
-
10
|
224
|
-
11
|
225
|
-
12
|
226
|
-
13
|
227
|
-
14
|
228
|
-
15
|
229
|
-
16
|
230
|
-
17
|
231
|
-
18
|
232
|
-
19
|
233
|
-
20
|
234
|
-
21
|
235
|
-
22
|
236
|
-
23</pre></td>
|
237
|
-
<td class="listing_code"><pre class="programlisting"><span class="symbol"><?</span><span class="usertype">xml</span><span class="normal"> version</span><span class="symbol">=</span><span class="string">"1.0"</span><span class="symbol">?></span>
|
238
|
-
<span class="symbol"><!</span><span class="normal">DOCTYPE xbel PUBLIC</span>
|
239
|
-
<span class="normal"> </span><span class="string">"+//IDN python.org//DTD XML Bookmark Exchange Language 1.0//EN//XML"</span>
|
240
|
-
<span class="normal"> </span><span class="string">"http://www.python.org/topics/xml/dtds/xbel-1.0.dtd"</span><span class="symbol">></span>
|
241
|
-
<span class="symbol"><</span><span class="usertype">xbel</span><span class="normal"> version</span><span class="symbol">=</span><span class="string">"1.0"</span>
|
242
|
-
<span class="normal"> xmlns</span><span class="symbol">:</span><span class="normal">mime</span><span class="symbol">=</span><span class="string">"http://www.freedesktop.org/standards/shared-mime-info"</span>
|
243
|
-
<span class="normal"> xmlns</span><span class="symbol">:</span><span class="normal">bookmark</span><span class="symbol">=</span><span class="string">"http://www.freedesktop.org/standards/desktop-bookmarks"</span><span class="symbol">></span>
|
244
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">bookmark</span><span class="normal"> href</span><span class="symbol">=</span><span class="string">"file:///home/ebassi/bookmark-spec/bookmark-spec.xml"</span><span class="symbol">></span>
|
245
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">title</span><span class="symbol">></span><span class="normal">Desktop </span><span class="usertype">Bookmarks</span><span class="normal"> Spec</span><span class="symbol"></</span><span class="normal">title</span><span class="symbol">></span>
|
246
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">info</span><span class="symbol">></span>
|
247
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">metadata</span><span class="normal"> owner</span><span class="symbol">=</span><span class="string">"http://freedesktop.org"</span><span class="symbol">></span>
|
248
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">mime</span><span class="symbol">:</span><span class="normal">mime</span><span class="symbol">-</span><span class="normal">type</span><span class="symbol">></span><span class="normal">text</span><span class="symbol">/</span><span class="normal">xml</span><span class="symbol"></</span><span class="normal">mime</span><span class="symbol">:</span><span class="normal">mime</span><span class="symbol">-</span><span class="normal">type</span><span class="symbol">></span>
|
249
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="normal">applications</span><span class="symbol">></span>
|
250
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="usertype">application</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"GEdit"</span><span class="normal"> count</span><span class="symbol">=</span><span class="string">"2"</span><span class="normal"> exec</span><span class="symbol">=</span><span class="string">"gedit %u"</span><span class="normal"> timestamp</span><span class="symbol">=</span><span class="string">"1115726763"</span><span class="symbol">/></span>
|
251
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="usertype">application</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"GViM"</span><span class="normal"> count</span><span class="symbol">=</span><span class="string">"7"</span><span class="normal"> exec</span><span class="symbol">=</span><span class="string">"gvim %f"</span><span class="normal"> timestamp</span><span class="symbol">=</span><span class="string">"1115726812"</span><span class="symbol">/></span>
|
252
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="normal">applications</span><span class="symbol">></span>
|
253
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="normal">groups</span><span class="symbol">></span>
|
254
|
-
<span class="normal"> </span><span class="symbol"><</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="normal">group</span><span class="symbol">></span><span class="normal">Editors</span><span class="symbol"></</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="normal">group</span><span class="symbol">></span>
|
255
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">bookmark</span><span class="symbol">:</span><span class="normal">groups</span><span class="symbol">></span>
|
256
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">metadata</span><span class="symbol">></span>
|
257
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">info</span><span class="symbol">></span>
|
258
|
-
<span class="normal"> </span><span class="symbol"></</span><span class="normal">bookmark</span><span class="symbol">></span>
|
259
|
-
<span class="symbol"></</span><span class="normal">xbel</span></pre></td>
|
260
|
-
</tr>
|
261
|
-
</tbody>
|
262
|
-
</table>
|
263
|
-
</div>
|
264
|
-
|
265
|
-
<p>
|
266
|
-
</p>
|
267
|
-
<p>
|
268
|
-
A bookmark file might contain more than one bookmark; each bookmark
|
269
|
-
is accessed through its URI.
|
270
|
-
</p>
|
271
|
-
<p>
|
272
|
-
The important caveat of bookmark files is that when you add a new
|
273
|
-
bookmark you must also add the application that is registering it, using
|
274
|
-
<a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-application" title="g_bookmark_file_add_application ()"><code class="function">g_bookmark_file_add_application()</code></a> or <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-app-info" title="g_bookmark_file_set_app_info ()"><code class="function">g_bookmark_file_set_app_info()</code></a>.
|
275
|
-
If a bookmark has no applications then it won't be dumped when creating
|
276
|
-
the on disk representation, using <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-data" title="g_bookmark_file_to_data ()"><code class="function">g_bookmark_file_to_data()</code></a> or
|
277
|
-
<a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-file" title="g_bookmark_file_to_file ()"><code class="function">g_bookmark_file_to_file()</code></a>.
|
278
|
-
</p>
|
279
|
-
<p>
|
280
|
-
The <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> parser was added in GLib 2.12.
|
281
|
-
</p>
|
282
|
-
</div>
|
283
|
-
<div class="refsect1">
|
284
|
-
<a name="glib-Bookmark-file-parser.details"></a><h2>Details</h2>
|
285
|
-
<div class="refsect2">
|
286
|
-
<a name="GBookmarkFile"></a><h3>GBookmarkFile</h3>
|
287
|
-
<pre class="programlisting">typedef struct _GBookmarkFile GBookmarkFile;</pre>
|
288
|
-
<p>
|
289
|
-
The <span class="structname">GBookmarkFile</span> struct contains only
|
290
|
-
private data and should not be directly accessed.
|
291
|
-
</p>
|
292
|
-
</div>
|
293
|
-
<hr>
|
294
|
-
<div class="refsect2">
|
295
|
-
<a name="G-BOOKMARK-FILE-ERROR:CAPS"></a><h3>G_BOOKMARK_FILE_ERROR</h3>
|
296
|
-
<pre class="programlisting">#define G_BOOKMARK_FILE_ERROR (g_bookmark_file_error_quark ())
|
297
|
-
</pre>
|
298
|
-
<p>
|
299
|
-
Error domain for bookmark file parsing.
|
300
|
-
Errors in this domain will be from the <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>
|
301
|
-
enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for information on error domains.
|
302
|
-
</p>
|
303
|
-
</div>
|
304
|
-
<hr>
|
305
|
-
<div class="refsect2">
|
306
|
-
<a name="GBookmarkFileError"></a><h3>enum GBookmarkFileError</h3>
|
307
|
-
<pre class="programlisting">typedef enum
|
308
|
-
{
|
309
|
-
G_BOOKMARK_FILE_ERROR_INVALID_URI,
|
310
|
-
G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
|
311
|
-
G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
|
312
|
-
G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
|
313
|
-
G_BOOKMARK_FILE_ERROR_READ,
|
314
|
-
G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
|
315
|
-
G_BOOKMARK_FILE_ERROR_WRITE,
|
316
|
-
G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
|
317
|
-
} GBookmarkFileError;
|
318
|
-
</pre>
|
319
|
-
<p>
|
320
|
-
Error codes returned by bookmark file parsing.
|
321
|
-
</p>
|
322
|
-
<div class="variablelist"><table border="0">
|
323
|
-
<col align="left" valign="top">
|
324
|
-
<tbody>
|
325
|
-
<tr>
|
326
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-INVALID-URI:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_INVALID_URI</code></span></p></td>
|
327
|
-
<td>URI was ill-formed
|
328
|
-
</td>
|
329
|
-
</tr>
|
330
|
-
<tr>
|
331
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</code></span></p></td>
|
332
|
-
<td>a requested field was not found
|
333
|
-
</td>
|
334
|
-
</tr>
|
335
|
-
<tr>
|
336
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</code></span></p></td>
|
337
|
-
<td>a requested application did
|
338
|
-
not register a bookmark
|
339
|
-
</td>
|
340
|
-
</tr>
|
341
|
-
<tr>
|
342
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</code></span></p></td>
|
343
|
-
<td>a requested URI was not found
|
344
|
-
</td>
|
345
|
-
</tr>
|
346
|
-
<tr>
|
347
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-READ:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_READ</code></span></p></td>
|
348
|
-
<td>document was ill formed
|
349
|
-
</td>
|
350
|
-
</tr>
|
351
|
-
<tr>
|
352
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-UNKNOWN-ENCODING:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING</code></span></p></td>
|
353
|
-
<td>the text being parsed was
|
354
|
-
in an unknown encoding
|
355
|
-
</td>
|
356
|
-
</tr>
|
357
|
-
<tr>
|
358
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-WRITE:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_WRITE</code></span></p></td>
|
359
|
-
<td>an error occurred while writing
|
360
|
-
</td>
|
361
|
-
</tr>
|
362
|
-
<tr>
|
363
|
-
<td><p><a name="G-BOOKMARK-FILE-ERROR-FILE-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND</code></span></p></td>
|
364
|
-
<td>requested file was not found
|
365
|
-
</td>
|
366
|
-
</tr>
|
367
|
-
</tbody>
|
368
|
-
</table></div>
|
369
|
-
</div>
|
370
|
-
<hr>
|
371
|
-
<div class="refsect2">
|
372
|
-
<a name="g-bookmark-file-new"></a><h3>g_bookmark_file_new ()</h3>
|
373
|
-
<pre class="programlisting"><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> * g_bookmark_file_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
374
|
-
<p>
|
375
|
-
Creates a new empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> object.
|
376
|
-
</p>
|
377
|
-
<p>
|
378
|
-
Use <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-file" title="g_bookmark_file_load_from_file ()"><code class="function">g_bookmark_file_load_from_file()</code></a>, <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data" title="g_bookmark_file_load_from_data ()"><code class="function">g_bookmark_file_load_from_data()</code></a>
|
379
|
-
or <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data-dirs" title="g_bookmark_file_load_from_data_dirs ()"><code class="function">g_bookmark_file_load_from_data_dirs()</code></a> to read an existing bookmark
|
380
|
-
file.
|
381
|
-
</p>
|
382
|
-
<div class="variablelist"><table border="0">
|
383
|
-
<col align="left" valign="top">
|
384
|
-
<tbody><tr>
|
385
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
386
|
-
<td> an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
387
|
-
|
388
|
-
</td>
|
389
|
-
</tr></tbody>
|
390
|
-
</table></div>
|
391
|
-
<p class="since">Since 2.12</p>
|
392
|
-
</div>
|
393
|
-
<hr>
|
394
|
-
<div class="refsect2">
|
395
|
-
<a name="g-bookmark-file-free"></a><h3>g_bookmark_file_free ()</h3>
|
396
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_free (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>);</pre>
|
397
|
-
<p>
|
398
|
-
Frees a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>.
|
399
|
-
</p>
|
400
|
-
<div class="variablelist"><table border="0">
|
401
|
-
<col align="left" valign="top">
|
402
|
-
<tbody><tr>
|
403
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
404
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
405
|
-
</td>
|
406
|
-
</tr></tbody>
|
407
|
-
</table></div>
|
408
|
-
<p class="since">Since 2.12</p>
|
409
|
-
</div>
|
410
|
-
<hr>
|
411
|
-
<div class="refsect2">
|
412
|
-
<a name="g-bookmark-file-load-from-file"></a><h3>g_bookmark_file_load_from_file ()</h3>
|
413
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_load_from_file (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
414
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
415
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
416
|
-
<p>
|
417
|
-
Loads a desktop bookmark file into an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> structure.
|
418
|
-
If the file could not be loaded then <em class="parameter"><code>error</code></em> is set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a>
|
419
|
-
or <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>.
|
420
|
-
</p>
|
421
|
-
<div class="variablelist"><table border="0">
|
422
|
-
<col align="left" valign="top">
|
423
|
-
<tbody>
|
424
|
-
<tr>
|
425
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
426
|
-
<td>an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> struct
|
427
|
-
</td>
|
428
|
-
</tr>
|
429
|
-
<tr>
|
430
|
-
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
431
|
-
<td>the path of a filename to load, in the GLib file name encoding
|
432
|
-
</td>
|
433
|
-
</tr>
|
434
|
-
<tr>
|
435
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
436
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
437
|
-
</td>
|
438
|
-
</tr>
|
439
|
-
<tr>
|
440
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
441
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a desktop bookmark file could be loaded
|
442
|
-
|
443
|
-
</td>
|
444
|
-
</tr>
|
445
|
-
</tbody>
|
446
|
-
</table></div>
|
447
|
-
<p class="since">Since 2.12</p>
|
448
|
-
</div>
|
449
|
-
<hr>
|
450
|
-
<div class="refsect2">
|
451
|
-
<a name="g-bookmark-file-load-from-data"></a><h3>g_bookmark_file_load_from_data ()</h3>
|
452
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_load_from_data (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
453
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *data</code></em>,
|
454
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
455
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
456
|
-
<p>
|
457
|
-
Loads a bookmark file from memory into an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
458
|
-
structure. If the object cannot be created then <em class="parameter"><code>error</code></em> is set to a
|
459
|
-
<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>.
|
460
|
-
</p>
|
461
|
-
<div class="variablelist"><table border="0">
|
462
|
-
<col align="left" valign="top">
|
463
|
-
<tbody>
|
464
|
-
<tr>
|
465
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
466
|
-
<td>an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> struct
|
467
|
-
</td>
|
468
|
-
</tr>
|
469
|
-
<tr>
|
470
|
-
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
471
|
-
<td>desktop bookmarks loaded in memory
|
472
|
-
</td>
|
473
|
-
</tr>
|
474
|
-
<tr>
|
475
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
476
|
-
<td>the length of <em class="parameter"><code>data</code></em> in bytes
|
477
|
-
</td>
|
478
|
-
</tr>
|
479
|
-
<tr>
|
480
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
481
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
482
|
-
</td>
|
483
|
-
</tr>
|
484
|
-
<tr>
|
485
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
486
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a desktop bookmark could be loaded.
|
487
|
-
|
488
|
-
</td>
|
489
|
-
</tr>
|
490
|
-
</tbody>
|
491
|
-
</table></div>
|
492
|
-
<p class="since">Since 2.12</p>
|
493
|
-
</div>
|
494
|
-
<hr>
|
495
|
-
<div class="refsect2">
|
496
|
-
<a name="g-bookmark-file-load-from-data-dirs"></a><h3>g_bookmark_file_load_from_data_dirs ()</h3>
|
497
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_load_from_data_dirs (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
498
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *file</code></em>,
|
499
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **full_path</code></em>,
|
500
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
501
|
-
<p>
|
502
|
-
This function looks for a desktop bookmark file named <em class="parameter"><code>file</code></em> in the
|
503
|
-
paths returned from <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()"><code class="function">g_get_user_data_dir()</code></a> and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs" title="g_get_system_data_dirs ()"><code class="function">g_get_system_data_dirs()</code></a>,
|
504
|
-
loads the file into <em class="parameter"><code>bookmark</code></em> and returns the file's full path in
|
505
|
-
<em class="parameter"><code>full_path</code></em>. If the file could not be loaded then an <code class="literal">error</code> is
|
506
|
-
set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> or <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>.
|
507
|
-
</p>
|
508
|
-
<div class="variablelist"><table border="0">
|
509
|
-
<col align="left" valign="top">
|
510
|
-
<tbody>
|
511
|
-
<tr>
|
512
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
513
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
514
|
-
</td>
|
515
|
-
</tr>
|
516
|
-
<tr>
|
517
|
-
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
518
|
-
<td>a relative path to a filename to open and parse
|
519
|
-
</td>
|
520
|
-
</tr>
|
521
|
-
<tr>
|
522
|
-
<td><p><span class="term"><em class="parameter"><code>full_path</code></em> :</span></p></td>
|
523
|
-
<td>return location for a string containing the full path
|
524
|
-
of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
525
|
-
</td>
|
526
|
-
</tr>
|
527
|
-
<tr>
|
528
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
529
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
530
|
-
</td>
|
531
|
-
</tr>
|
532
|
-
<tr>
|
533
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
534
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> othewise
|
535
|
-
|
536
|
-
</td>
|
537
|
-
</tr>
|
538
|
-
</tbody>
|
539
|
-
</table></div>
|
540
|
-
<p class="since">Since 2.12</p>
|
541
|
-
</div>
|
542
|
-
<hr>
|
543
|
-
<div class="refsect2">
|
544
|
-
<a name="g-bookmark-file-to-data"></a><h3>g_bookmark_file_to_data ()</h3>
|
545
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_bookmark_file_to_data (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
546
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
547
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
548
|
-
<p>
|
549
|
-
This function outputs <em class="parameter"><code>bookmark</code></em> as a string.
|
550
|
-
</p>
|
551
|
-
<div class="variablelist"><table border="0">
|
552
|
-
<col align="left" valign="top">
|
553
|
-
<tbody>
|
554
|
-
<tr>
|
555
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
556
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
557
|
-
</td>
|
558
|
-
</tr>
|
559
|
-
<tr>
|
560
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
561
|
-
<td>return location for the length of the returned string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
562
|
-
</td>
|
563
|
-
</tr>
|
564
|
-
<tr>
|
565
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
566
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
567
|
-
</td>
|
568
|
-
</tr>
|
569
|
-
<tr>
|
570
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
571
|
-
<td> a newly allocated string holding
|
572
|
-
the contents of the <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
573
|
-
|
574
|
-
</td>
|
575
|
-
</tr>
|
576
|
-
</tbody>
|
577
|
-
</table></div>
|
578
|
-
<p class="since">Since 2.12</p>
|
579
|
-
</div>
|
580
|
-
<hr>
|
581
|
-
<div class="refsect2">
|
582
|
-
<a name="g-bookmark-file-to-file"></a><h3>g_bookmark_file_to_file ()</h3>
|
583
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_to_file (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
584
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
585
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
586
|
-
<p>
|
587
|
-
This function outputs <em class="parameter"><code>bookmark</code></em> into a file. The write process is
|
588
|
-
guaranteed to be atomic by using <a class="link" href="glib-File-Utilities.html#g-file-set-contents" title="g_file_set_contents ()"><code class="function">g_file_set_contents()</code></a> internally.
|
589
|
-
</p>
|
590
|
-
<div class="variablelist"><table border="0">
|
591
|
-
<col align="left" valign="top">
|
592
|
-
<tbody>
|
593
|
-
<tr>
|
594
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
595
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
596
|
-
</td>
|
597
|
-
</tr>
|
598
|
-
<tr>
|
599
|
-
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
600
|
-
<td>path of the output file
|
601
|
-
</td>
|
602
|
-
</tr>
|
603
|
-
<tr>
|
604
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
605
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
606
|
-
</td>
|
607
|
-
</tr>
|
608
|
-
<tr>
|
609
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
610
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file was successfully written.
|
611
|
-
|
612
|
-
</td>
|
613
|
-
</tr>
|
614
|
-
</tbody>
|
615
|
-
</table></div>
|
616
|
-
<p class="since">Since 2.12</p>
|
617
|
-
</div>
|
618
|
-
<hr>
|
619
|
-
<div class="refsect2">
|
620
|
-
<a name="g-bookmark-file-has-item"></a><h3>g_bookmark_file_has_item ()</h3>
|
621
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_has_item (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
622
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
|
623
|
-
<p>
|
624
|
-
Looks whether the desktop bookmark has an item with its URI set to <em class="parameter"><code>uri</code></em>.
|
625
|
-
</p>
|
626
|
-
<div class="variablelist"><table border="0">
|
627
|
-
<col align="left" valign="top">
|
628
|
-
<tbody>
|
629
|
-
<tr>
|
630
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
631
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
632
|
-
</td>
|
633
|
-
</tr>
|
634
|
-
<tr>
|
635
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
636
|
-
<td>a valid URI
|
637
|
-
</td>
|
638
|
-
</tr>
|
639
|
-
<tr>
|
640
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
641
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>uri</code></em> is inside <em class="parameter"><code>bookmark</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
|
642
|
-
|
643
|
-
</td>
|
644
|
-
</tr>
|
645
|
-
</tbody>
|
646
|
-
</table></div>
|
647
|
-
<p class="since">Since 2.12</p>
|
648
|
-
</div>
|
649
|
-
<hr>
|
650
|
-
<div class="refsect2">
|
651
|
-
<a name="g-bookmark-file-has-group"></a><h3>g_bookmark_file_has_group ()</h3>
|
652
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_has_group (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
653
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
654
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group</code></em>,
|
655
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
656
|
-
<p>
|
657
|
-
Checks whether <em class="parameter"><code>group</code></em> appears in the list of groups to which
|
658
|
-
the bookmark for <em class="parameter"><code>uri</code></em> belongs to.
|
659
|
-
</p>
|
660
|
-
<p>
|
661
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
662
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
663
|
-
</p>
|
664
|
-
<div class="variablelist"><table border="0">
|
665
|
-
<col align="left" valign="top">
|
666
|
-
<tbody>
|
667
|
-
<tr>
|
668
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
669
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
670
|
-
</td>
|
671
|
-
</tr>
|
672
|
-
<tr>
|
673
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
674
|
-
<td>a valid URI
|
675
|
-
</td>
|
676
|
-
</tr>
|
677
|
-
<tr>
|
678
|
-
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
|
679
|
-
<td>the group name to be searched
|
680
|
-
</td>
|
681
|
-
</tr>
|
682
|
-
<tr>
|
683
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
684
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
685
|
-
</td>
|
686
|
-
</tr>
|
687
|
-
<tr>
|
688
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
689
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> was found.
|
690
|
-
|
691
|
-
</td>
|
692
|
-
</tr>
|
693
|
-
</tbody>
|
694
|
-
</table></div>
|
695
|
-
<p class="since">Since 2.12</p>
|
696
|
-
</div>
|
697
|
-
<hr>
|
698
|
-
<div class="refsect2">
|
699
|
-
<a name="g-bookmark-file-has-application"></a><h3>g_bookmark_file_has_application ()</h3>
|
700
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_has_application (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
701
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
702
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
703
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
704
|
-
<p>
|
705
|
-
Checks whether the bookmark for <em class="parameter"><code>uri</code></em> inside <em class="parameter"><code>bookmark</code></em> has been
|
706
|
-
registered by application <em class="parameter"><code>name</code></em>.
|
707
|
-
</p>
|
708
|
-
<p>
|
709
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
710
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
711
|
-
</p>
|
712
|
-
<div class="variablelist"><table border="0">
|
713
|
-
<col align="left" valign="top">
|
714
|
-
<tbody>
|
715
|
-
<tr>
|
716
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
717
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
718
|
-
</td>
|
719
|
-
</tr>
|
720
|
-
<tr>
|
721
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
722
|
-
<td>a valid URI
|
723
|
-
</td>
|
724
|
-
</tr>
|
725
|
-
<tr>
|
726
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
727
|
-
<td>the name of the application
|
728
|
-
</td>
|
729
|
-
</tr>
|
730
|
-
<tr>
|
731
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
732
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
733
|
-
</td>
|
734
|
-
</tr>
|
735
|
-
<tr>
|
736
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
737
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application <em class="parameter"><code>name</code></em> was found
|
738
|
-
|
739
|
-
</td>
|
740
|
-
</tr>
|
741
|
-
</tbody>
|
742
|
-
</table></div>
|
743
|
-
<p class="since">Since 2.12</p>
|
744
|
-
</div>
|
745
|
-
<hr>
|
746
|
-
<div class="refsect2">
|
747
|
-
<a name="g-bookmark-file-get-size"></a><h3>g_bookmark_file_get_size ()</h3>
|
748
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_bookmark_file_get_size (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>);</pre>
|
749
|
-
<p>
|
750
|
-
Gets the number of bookmarks inside <em class="parameter"><code>bookmark</code></em>.
|
751
|
-
</p>
|
752
|
-
<div class="variablelist"><table border="0">
|
753
|
-
<col align="left" valign="top">
|
754
|
-
<tbody>
|
755
|
-
<tr>
|
756
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
757
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
758
|
-
</td>
|
759
|
-
</tr>
|
760
|
-
<tr>
|
761
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
762
|
-
<td> the number of bookmarks
|
763
|
-
|
764
|
-
</td>
|
765
|
-
</tr>
|
766
|
-
</tbody>
|
767
|
-
</table></div>
|
768
|
-
<p class="since">Since 2.12</p>
|
769
|
-
</div>
|
770
|
-
<hr>
|
771
|
-
<div class="refsect2">
|
772
|
-
<a name="g-bookmark-file-get-uris"></a><h3>g_bookmark_file_get_uris ()</h3>
|
773
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_bookmark_file_get_uris (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
774
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
775
|
-
<p>
|
776
|
-
Returns all URIs of the bookmarks in the bookmark file <em class="parameter"><code>bookmark</code></em>.
|
777
|
-
The array of returned URIs will be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated, so <em class="parameter"><code>length</code></em> may
|
778
|
-
optionally be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
779
|
-
</p>
|
780
|
-
<div class="variablelist"><table border="0">
|
781
|
-
<col align="left" valign="top">
|
782
|
-
<tbody>
|
783
|
-
<tr>
|
784
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
785
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
786
|
-
</td>
|
787
|
-
</tr>
|
788
|
-
<tr>
|
789
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
790
|
-
<td>return location for the number of returned URIs, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
791
|
-
</td>
|
792
|
-
</tr>
|
793
|
-
<tr>
|
794
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
795
|
-
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
|
796
|
-
Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
797
|
-
|
798
|
-
</td>
|
799
|
-
</tr>
|
800
|
-
</tbody>
|
801
|
-
</table></div>
|
802
|
-
<p class="since">Since 2.12</p>
|
803
|
-
</div>
|
804
|
-
<hr>
|
805
|
-
<div class="refsect2">
|
806
|
-
<a name="g-bookmark-file-get-title"></a><h3>g_bookmark_file_get_title ()</h3>
|
807
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_bookmark_file_get_title (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
808
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
809
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
810
|
-
<p>
|
811
|
-
Returns the title of the bookmark for <em class="parameter"><code>uri</code></em>.
|
812
|
-
</p>
|
813
|
-
<p>
|
814
|
-
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the title of <em class="parameter"><code>bookmark</code></em> is returned.
|
815
|
-
</p>
|
816
|
-
<p>
|
817
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
818
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
819
|
-
</p>
|
820
|
-
<div class="variablelist"><table border="0">
|
821
|
-
<col align="left" valign="top">
|
822
|
-
<tbody>
|
823
|
-
<tr>
|
824
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
825
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
826
|
-
</td>
|
827
|
-
</tr>
|
828
|
-
<tr>
|
829
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
830
|
-
<td>a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
831
|
-
</td>
|
832
|
-
</tr>
|
833
|
-
<tr>
|
834
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
835
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
836
|
-
</td>
|
837
|
-
</tr>
|
838
|
-
<tr>
|
839
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
840
|
-
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
841
|
-
URI cannot be found.
|
842
|
-
|
843
|
-
</td>
|
844
|
-
</tr>
|
845
|
-
</tbody>
|
846
|
-
</table></div>
|
847
|
-
<p class="since">Since 2.12</p>
|
848
|
-
</div>
|
849
|
-
<hr>
|
850
|
-
<div class="refsect2">
|
851
|
-
<a name="g-bookmark-file-get-description"></a><h3>g_bookmark_file_get_description ()</h3>
|
852
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_bookmark_file_get_description (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
853
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
854
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
855
|
-
<p>
|
856
|
-
Retrieves the description of the bookmark for <em class="parameter"><code>uri</code></em>.
|
857
|
-
</p>
|
858
|
-
<p>
|
859
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
860
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
861
|
-
</p>
|
862
|
-
<div class="variablelist"><table border="0">
|
863
|
-
<col align="left" valign="top">
|
864
|
-
<tbody>
|
865
|
-
<tr>
|
866
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
867
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
868
|
-
</td>
|
869
|
-
</tr>
|
870
|
-
<tr>
|
871
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
872
|
-
<td>a valid URI
|
873
|
-
</td>
|
874
|
-
</tr>
|
875
|
-
<tr>
|
876
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
877
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
878
|
-
</td>
|
879
|
-
</tr>
|
880
|
-
<tr>
|
881
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
882
|
-
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
883
|
-
URI cannot be found.
|
884
|
-
|
885
|
-
</td>
|
886
|
-
</tr>
|
887
|
-
</tbody>
|
888
|
-
</table></div>
|
889
|
-
<p class="since">Since 2.12</p>
|
890
|
-
</div>
|
891
|
-
<hr>
|
892
|
-
<div class="refsect2">
|
893
|
-
<a name="g-bookmark-file-get-mime-type"></a><h3>g_bookmark_file_get_mime_type ()</h3>
|
894
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_bookmark_file_get_mime_type (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
895
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
896
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
897
|
-
<p>
|
898
|
-
Retrieves the MIME type of the resource pointed by <em class="parameter"><code>uri</code></em>.
|
899
|
-
</p>
|
900
|
-
<p>
|
901
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
902
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>. In the
|
903
|
-
event that the MIME type cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
904
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.
|
905
|
-
</p>
|
906
|
-
<div class="variablelist"><table border="0">
|
907
|
-
<col align="left" valign="top">
|
908
|
-
<tbody>
|
909
|
-
<tr>
|
910
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
911
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
912
|
-
</td>
|
913
|
-
</tr>
|
914
|
-
<tr>
|
915
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
916
|
-
<td>a valid URI
|
917
|
-
</td>
|
918
|
-
</tr>
|
919
|
-
<tr>
|
920
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
921
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
922
|
-
</td>
|
923
|
-
</tr>
|
924
|
-
<tr>
|
925
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
926
|
-
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
|
927
|
-
URI cannot be found.
|
928
|
-
|
929
|
-
</td>
|
930
|
-
</tr>
|
931
|
-
</tbody>
|
932
|
-
</table></div>
|
933
|
-
<p class="since">Since 2.12</p>
|
934
|
-
</div>
|
935
|
-
<hr>
|
936
|
-
<div class="refsect2">
|
937
|
-
<a name="g-bookmark-file-get-is-private"></a><h3>g_bookmark_file_get_is_private ()</h3>
|
938
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_get_is_private (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
939
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
940
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
941
|
-
<p>
|
942
|
-
Gets whether the private flag of the bookmark for <em class="parameter"><code>uri</code></em> is set.
|
943
|
-
</p>
|
944
|
-
<p>
|
945
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
946
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>. In the
|
947
|
-
event that the private flag cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
948
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.
|
949
|
-
</p>
|
950
|
-
<div class="variablelist"><table border="0">
|
951
|
-
<col align="left" valign="top">
|
952
|
-
<tbody>
|
953
|
-
<tr>
|
954
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
955
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
956
|
-
</td>
|
957
|
-
</tr>
|
958
|
-
<tr>
|
959
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
960
|
-
<td>a valid URI
|
961
|
-
</td>
|
962
|
-
</tr>
|
963
|
-
<tr>
|
964
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
965
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
966
|
-
</td>
|
967
|
-
</tr>
|
968
|
-
<tr>
|
969
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
970
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the private flag is set, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.
|
971
|
-
|
972
|
-
</td>
|
973
|
-
</tr>
|
974
|
-
</tbody>
|
975
|
-
</table></div>
|
976
|
-
<p class="since">Since 2.12</p>
|
977
|
-
</div>
|
978
|
-
<hr>
|
979
|
-
<div class="refsect2">
|
980
|
-
<a name="g-bookmark-file-get-icon"></a><h3>g_bookmark_file_get_icon ()</h3>
|
981
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_get_icon (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
982
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
983
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **href</code></em>,
|
984
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **mime_type</code></em>,
|
985
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
986
|
-
<p>
|
987
|
-
Gets the icon of the bookmark for <em class="parameter"><code>uri</code></em>.
|
988
|
-
</p>
|
989
|
-
<p>
|
990
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
991
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
992
|
-
</p>
|
993
|
-
<div class="variablelist"><table border="0">
|
994
|
-
<col align="left" valign="top">
|
995
|
-
<tbody>
|
996
|
-
<tr>
|
997
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
998
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
999
|
-
</td>
|
1000
|
-
</tr>
|
1001
|
-
<tr>
|
1002
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1003
|
-
<td>a valid URI
|
1004
|
-
</td>
|
1005
|
-
</tr>
|
1006
|
-
<tr>
|
1007
|
-
<td><p><span class="term"><em class="parameter"><code>href</code></em> :</span></p></td>
|
1008
|
-
<td>return location for the icon's location or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1009
|
-
</td>
|
1010
|
-
</tr>
|
1011
|
-
<tr>
|
1012
|
-
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
|
1013
|
-
<td>return location for the icon's MIME type or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1014
|
-
</td>
|
1015
|
-
</tr>
|
1016
|
-
<tr>
|
1017
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1018
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1019
|
-
</td>
|
1020
|
-
</tr>
|
1021
|
-
<tr>
|
1022
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1023
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the icon for the bookmark for the URI was found.
|
1024
|
-
You should free the returned strings.
|
1025
|
-
|
1026
|
-
</td>
|
1027
|
-
</tr>
|
1028
|
-
</tbody>
|
1029
|
-
</table></div>
|
1030
|
-
<p class="since">Since 2.12</p>
|
1031
|
-
</div>
|
1032
|
-
<hr>
|
1033
|
-
<div class="refsect2">
|
1034
|
-
<a name="g-bookmark-file-get-added"></a><h3>g_bookmark_file_get_added ()</h3>
|
1035
|
-
<pre class="programlisting"><span class="returnvalue">time_t</span> g_bookmark_file_get_added (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1036
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1037
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1038
|
-
<p>
|
1039
|
-
Gets the time the bookmark for <em class="parameter"><code>uri</code></em> was added to <em class="parameter"><code>bookmark</code></em>
|
1040
|
-
</p>
|
1041
|
-
<p>
|
1042
|
-
In the event the URI cannot be found, -1 is returned and
|
1043
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1044
|
-
</p>
|
1045
|
-
<div class="variablelist"><table border="0">
|
1046
|
-
<col align="left" valign="top">
|
1047
|
-
<tbody>
|
1048
|
-
<tr>
|
1049
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1050
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1051
|
-
</td>
|
1052
|
-
</tr>
|
1053
|
-
<tr>
|
1054
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1055
|
-
<td>a valid URI
|
1056
|
-
</td>
|
1057
|
-
</tr>
|
1058
|
-
<tr>
|
1059
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1060
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1061
|
-
</td>
|
1062
|
-
</tr>
|
1063
|
-
<tr>
|
1064
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1065
|
-
<td> a timestamp
|
1066
|
-
|
1067
|
-
</td>
|
1068
|
-
</tr>
|
1069
|
-
</tbody>
|
1070
|
-
</table></div>
|
1071
|
-
<p class="since">Since 2.12</p>
|
1072
|
-
</div>
|
1073
|
-
<hr>
|
1074
|
-
<div class="refsect2">
|
1075
|
-
<a name="g-bookmark-file-get-modified"></a><h3>g_bookmark_file_get_modified ()</h3>
|
1076
|
-
<pre class="programlisting"><span class="returnvalue">time_t</span> g_bookmark_file_get_modified (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1077
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1078
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1079
|
-
<p>
|
1080
|
-
Gets the time when the bookmark for <em class="parameter"><code>uri</code></em> was last modified.
|
1081
|
-
</p>
|
1082
|
-
<p>
|
1083
|
-
In the event the URI cannot be found, -1 is returned and
|
1084
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1085
|
-
</p>
|
1086
|
-
<div class="variablelist"><table border="0">
|
1087
|
-
<col align="left" valign="top">
|
1088
|
-
<tbody>
|
1089
|
-
<tr>
|
1090
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1091
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1092
|
-
</td>
|
1093
|
-
</tr>
|
1094
|
-
<tr>
|
1095
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1096
|
-
<td>a valid URI
|
1097
|
-
</td>
|
1098
|
-
</tr>
|
1099
|
-
<tr>
|
1100
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1101
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1102
|
-
</td>
|
1103
|
-
</tr>
|
1104
|
-
<tr>
|
1105
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1106
|
-
<td> a timestamp
|
1107
|
-
|
1108
|
-
</td>
|
1109
|
-
</tr>
|
1110
|
-
</tbody>
|
1111
|
-
</table></div>
|
1112
|
-
<p class="since">Since 2.12</p>
|
1113
|
-
</div>
|
1114
|
-
<hr>
|
1115
|
-
<div class="refsect2">
|
1116
|
-
<a name="g-bookmark-file-get-visited"></a><h3>g_bookmark_file_get_visited ()</h3>
|
1117
|
-
<pre class="programlisting"><span class="returnvalue">time_t</span> g_bookmark_file_get_visited (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1118
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1119
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1120
|
-
<p>
|
1121
|
-
Gets the time the bookmark for <em class="parameter"><code>uri</code></em> was last visited.
|
1122
|
-
</p>
|
1123
|
-
<p>
|
1124
|
-
In the event the URI cannot be found, -1 is returned and
|
1125
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1126
|
-
</p>
|
1127
|
-
<div class="variablelist"><table border="0">
|
1128
|
-
<col align="left" valign="top">
|
1129
|
-
<tbody>
|
1130
|
-
<tr>
|
1131
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1132
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1133
|
-
</td>
|
1134
|
-
</tr>
|
1135
|
-
<tr>
|
1136
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1137
|
-
<td>a valid URI
|
1138
|
-
</td>
|
1139
|
-
</tr>
|
1140
|
-
<tr>
|
1141
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1142
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1143
|
-
</td>
|
1144
|
-
</tr>
|
1145
|
-
<tr>
|
1146
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1147
|
-
<td> a timestamp.
|
1148
|
-
|
1149
|
-
</td>
|
1150
|
-
</tr>
|
1151
|
-
</tbody>
|
1152
|
-
</table></div>
|
1153
|
-
<p class="since">Since 2.12</p>
|
1154
|
-
</div>
|
1155
|
-
<hr>
|
1156
|
-
<div class="refsect2">
|
1157
|
-
<a name="g-bookmark-file-get-groups"></a><h3>g_bookmark_file_get_groups ()</h3>
|
1158
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_bookmark_file_get_groups (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1159
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1160
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1161
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1162
|
-
<p>
|
1163
|
-
Retrieves the list of group names of the bookmark for <em class="parameter"><code>uri</code></em>.
|
1164
|
-
</p>
|
1165
|
-
<p>
|
1166
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
1167
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1168
|
-
</p>
|
1169
|
-
<p>
|
1170
|
-
The returned array is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> terminated, so <em class="parameter"><code>length</code></em> may optionally
|
1171
|
-
be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1172
|
-
</p>
|
1173
|
-
<div class="variablelist"><table border="0">
|
1174
|
-
<col align="left" valign="top">
|
1175
|
-
<tbody>
|
1176
|
-
<tr>
|
1177
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1178
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1179
|
-
</td>
|
1180
|
-
</tr>
|
1181
|
-
<tr>
|
1182
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1183
|
-
<td>a valid URI
|
1184
|
-
</td>
|
1185
|
-
</tr>
|
1186
|
-
<tr>
|
1187
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1188
|
-
<td>return location for the length of the returned string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1189
|
-
</td>
|
1190
|
-
</tr>
|
1191
|
-
<tr>
|
1192
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1193
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1194
|
-
</td>
|
1195
|
-
</tr>
|
1196
|
-
<tr>
|
1197
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1198
|
-
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of group names.
|
1199
|
-
Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
1200
|
-
|
1201
|
-
</td>
|
1202
|
-
</tr>
|
1203
|
-
</tbody>
|
1204
|
-
</table></div>
|
1205
|
-
<p class="since">Since 2.12</p>
|
1206
|
-
</div>
|
1207
|
-
<hr>
|
1208
|
-
<div class="refsect2">
|
1209
|
-
<a name="g-bookmark-file-get-applications"></a><h3>g_bookmark_file_get_applications ()</h3>
|
1210
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_bookmark_file_get_applications (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1211
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1212
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> *length</code></em>,
|
1213
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1214
|
-
<p>
|
1215
|
-
Retrieves the names of the applications that have registered the
|
1216
|
-
bookmark for <em class="parameter"><code>uri</code></em>.
|
1217
|
-
</p>
|
1218
|
-
<p>
|
1219
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
|
1220
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1221
|
-
</p>
|
1222
|
-
<div class="variablelist"><table border="0">
|
1223
|
-
<col align="left" valign="top">
|
1224
|
-
<tbody>
|
1225
|
-
<tr>
|
1226
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1227
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1228
|
-
</td>
|
1229
|
-
</tr>
|
1230
|
-
<tr>
|
1231
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1232
|
-
<td>a valid URI
|
1233
|
-
</td>
|
1234
|
-
</tr>
|
1235
|
-
<tr>
|
1236
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1237
|
-
<td>return location of the length of the returned list, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1238
|
-
</td>
|
1239
|
-
</tr>
|
1240
|
-
<tr>
|
1241
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1242
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1243
|
-
</td>
|
1244
|
-
</tr>
|
1245
|
-
<tr>
|
1246
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1247
|
-
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
|
1248
|
-
Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
|
1249
|
-
|
1250
|
-
</td>
|
1251
|
-
</tr>
|
1252
|
-
</tbody>
|
1253
|
-
</table></div>
|
1254
|
-
<p class="since">Since 2.12</p>
|
1255
|
-
</div>
|
1256
|
-
<hr>
|
1257
|
-
<div class="refsect2">
|
1258
|
-
<a name="g-bookmark-file-get-app-info"></a><h3>g_bookmark_file_get_app_info ()</h3>
|
1259
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_get_app_info (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1260
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1261
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1262
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **exec</code></em>,
|
1263
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> *count</code></em>,
|
1264
|
-
<em class="parameter"><code><span class="type">time_t</span> *stamp</code></em>,
|
1265
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1266
|
-
<p>
|
1267
|
-
Gets the registration informations of <em class="parameter"><code>app_name</code></em> for the bookmark for
|
1268
|
-
<em class="parameter"><code>uri</code></em>. See <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-app-info" title="g_bookmark_file_set_app_info ()"><code class="function">g_bookmark_file_set_app_info()</code></a> for more informations about
|
1269
|
-
the returned data.
|
1270
|
-
</p>
|
1271
|
-
<p>
|
1272
|
-
The string returned in <em class="parameter"><code>app_exec</code></em> must be freed.
|
1273
|
-
</p>
|
1274
|
-
<p>
|
1275
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
1276
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>. In the
|
1277
|
-
event that no application with name <em class="parameter"><code>app_name</code></em> has registered a bookmark
|
1278
|
-
for <em class="parameter"><code>uri</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
|
1279
|
-
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>. In the event that unquoting
|
1280
|
-
the command line fails, an error of the <a class="link" href="glib-Shell-related-Utilities.html#G-SHELL-ERROR:CAPS" title="G_SHELL_ERROR"><span class="type">G_SHELL_ERROR</span></a> domain is
|
1281
|
-
set and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.
|
1282
|
-
</p>
|
1283
|
-
<div class="variablelist"><table border="0">
|
1284
|
-
<col align="left" valign="top">
|
1285
|
-
<tbody>
|
1286
|
-
<tr>
|
1287
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1288
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1289
|
-
</td>
|
1290
|
-
</tr>
|
1291
|
-
<tr>
|
1292
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1293
|
-
<td>a valid URI
|
1294
|
-
</td>
|
1295
|
-
</tr>
|
1296
|
-
<tr>
|
1297
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1298
|
-
<td>an application's name
|
1299
|
-
</td>
|
1300
|
-
</tr>
|
1301
|
-
<tr>
|
1302
|
-
<td><p><span class="term"><em class="parameter"><code>exec</code></em> :</span></p></td>
|
1303
|
-
<td>location for the command line of the application, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1304
|
-
</td>
|
1305
|
-
</tr>
|
1306
|
-
<tr>
|
1307
|
-
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
|
1308
|
-
<td>return location for the registration count, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1309
|
-
</td>
|
1310
|
-
</tr>
|
1311
|
-
<tr>
|
1312
|
-
<td><p><span class="term"><em class="parameter"><code>stamp</code></em> :</span></p></td>
|
1313
|
-
<td>return location for the last registration time, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1314
|
-
</td>
|
1315
|
-
</tr>
|
1316
|
-
<tr>
|
1317
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1318
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1319
|
-
</td>
|
1320
|
-
</tr>
|
1321
|
-
<tr>
|
1322
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1323
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> on success.
|
1324
|
-
|
1325
|
-
</td>
|
1326
|
-
</tr>
|
1327
|
-
</tbody>
|
1328
|
-
</table></div>
|
1329
|
-
<p class="since">Since 2.12</p>
|
1330
|
-
</div>
|
1331
|
-
<hr>
|
1332
|
-
<div class="refsect2">
|
1333
|
-
<a name="g-bookmark-file-set-title"></a><h3>g_bookmark_file_set_title ()</h3>
|
1334
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_title (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1335
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1336
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
|
1337
|
-
<p>
|
1338
|
-
Sets <em class="parameter"><code>title</code></em> as the title of the bookmark for <em class="parameter"><code>uri</code></em> inside the
|
1339
|
-
bookmark file <em class="parameter"><code>bookmark</code></em>.
|
1340
|
-
</p>
|
1341
|
-
<p>
|
1342
|
-
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the title of <em class="parameter"><code>bookmark</code></em> is set.
|
1343
|
-
</p>
|
1344
|
-
<p>
|
1345
|
-
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.
|
1346
|
-
</p>
|
1347
|
-
<div class="variablelist"><table border="0">
|
1348
|
-
<col align="left" valign="top">
|
1349
|
-
<tbody>
|
1350
|
-
<tr>
|
1351
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1352
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1353
|
-
</td>
|
1354
|
-
</tr>
|
1355
|
-
<tr>
|
1356
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1357
|
-
<td>a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1358
|
-
</td>
|
1359
|
-
</tr>
|
1360
|
-
<tr>
|
1361
|
-
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
|
1362
|
-
<td>a UTF-8 encoded string
|
1363
|
-
</td>
|
1364
|
-
</tr>
|
1365
|
-
</tbody>
|
1366
|
-
</table></div>
|
1367
|
-
<p class="since">Since 2.12</p>
|
1368
|
-
</div>
|
1369
|
-
<hr>
|
1370
|
-
<div class="refsect2">
|
1371
|
-
<a name="g-bookmark-file-set-description"></a><h3>g_bookmark_file_set_description ()</h3>
|
1372
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_description (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1373
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1374
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *description</code></em>);</pre>
|
1375
|
-
<p>
|
1376
|
-
Sets <em class="parameter"><code>description</code></em> as the description of the bookmark for <em class="parameter"><code>uri</code></em>.
|
1377
|
-
</p>
|
1378
|
-
<p>
|
1379
|
-
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the description of <em class="parameter"><code>bookmark</code></em> is set.
|
1380
|
-
</p>
|
1381
|
-
<p>
|
1382
|
-
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.
|
1383
|
-
</p>
|
1384
|
-
<div class="variablelist"><table border="0">
|
1385
|
-
<col align="left" valign="top">
|
1386
|
-
<tbody>
|
1387
|
-
<tr>
|
1388
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1389
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1390
|
-
</td>
|
1391
|
-
</tr>
|
1392
|
-
<tr>
|
1393
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1394
|
-
<td>a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1395
|
-
</td>
|
1396
|
-
</tr>
|
1397
|
-
<tr>
|
1398
|
-
<td><p><span class="term"><em class="parameter"><code>description</code></em> :</span></p></td>
|
1399
|
-
<td>a string
|
1400
|
-
</td>
|
1401
|
-
</tr>
|
1402
|
-
</tbody>
|
1403
|
-
</table></div>
|
1404
|
-
<p class="since">Since 2.12</p>
|
1405
|
-
</div>
|
1406
|
-
<hr>
|
1407
|
-
<div class="refsect2">
|
1408
|
-
<a name="g-bookmark-file-set-mime-type"></a><h3>g_bookmark_file_set_mime_type ()</h3>
|
1409
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_mime_type (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1410
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1411
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mime_type</code></em>);</pre>
|
1412
|
-
<p>
|
1413
|
-
Sets <em class="parameter"><code>mime_type</code></em> as the MIME type of the bookmark for <em class="parameter"><code>uri</code></em>.
|
1414
|
-
</p>
|
1415
|
-
<p>
|
1416
|
-
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.
|
1417
|
-
</p>
|
1418
|
-
<div class="variablelist"><table border="0">
|
1419
|
-
<col align="left" valign="top">
|
1420
|
-
<tbody>
|
1421
|
-
<tr>
|
1422
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1423
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1424
|
-
</td>
|
1425
|
-
</tr>
|
1426
|
-
<tr>
|
1427
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1428
|
-
<td>a valid URI
|
1429
|
-
</td>
|
1430
|
-
</tr>
|
1431
|
-
<tr>
|
1432
|
-
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
|
1433
|
-
<td>a MIME type
|
1434
|
-
</td>
|
1435
|
-
</tr>
|
1436
|
-
</tbody>
|
1437
|
-
</table></div>
|
1438
|
-
<p class="since">Since 2.12</p>
|
1439
|
-
</div>
|
1440
|
-
<hr>
|
1441
|
-
<div class="refsect2">
|
1442
|
-
<a name="g-bookmark-file-set-is-private"></a><h3>g_bookmark_file_set_is_private ()</h3>
|
1443
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_is_private (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1444
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1445
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> is_private</code></em>);</pre>
|
1446
|
-
<p>
|
1447
|
-
Sets the private flag of the bookmark for <em class="parameter"><code>uri</code></em>.
|
1448
|
-
</p>
|
1449
|
-
<p>
|
1450
|
-
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.
|
1451
|
-
</p>
|
1452
|
-
<div class="variablelist"><table border="0">
|
1453
|
-
<col align="left" valign="top">
|
1454
|
-
<tbody>
|
1455
|
-
<tr>
|
1456
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1457
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1458
|
-
</td>
|
1459
|
-
</tr>
|
1460
|
-
<tr>
|
1461
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1462
|
-
<td>a valid URI
|
1463
|
-
</td>
|
1464
|
-
</tr>
|
1465
|
-
<tr>
|
1466
|
-
<td><p><span class="term"><em class="parameter"><code>is_private</code></em> :</span></p></td>
|
1467
|
-
<td>
|
1468
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the bookmark should be marked as private
|
1469
|
-
</td>
|
1470
|
-
</tr>
|
1471
|
-
</tbody>
|
1472
|
-
</table></div>
|
1473
|
-
<p class="since">Since 2.12</p>
|
1474
|
-
</div>
|
1475
|
-
<hr>
|
1476
|
-
<div class="refsect2">
|
1477
|
-
<a name="g-bookmark-file-set-icon"></a><h3>g_bookmark_file_set_icon ()</h3>
|
1478
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_icon (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1479
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1480
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *href</code></em>,
|
1481
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *mime_type</code></em>);</pre>
|
1482
|
-
<p>
|
1483
|
-
Sets the icon for the bookmark for <em class="parameter"><code>uri</code></em>. If <em class="parameter"><code>href</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, unsets
|
1484
|
-
the currently set icon. <em class="parameter"><code>href</code></em> can either be a full URL for the icon
|
1485
|
-
file or the icon name following the Icon Naming specification.
|
1486
|
-
</p>
|
1487
|
-
<p>
|
1488
|
-
If no bookmark for <em class="parameter"><code>uri</code></em> is found one is created.
|
1489
|
-
</p>
|
1490
|
-
<div class="variablelist"><table border="0">
|
1491
|
-
<col align="left" valign="top">
|
1492
|
-
<tbody>
|
1493
|
-
<tr>
|
1494
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1495
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1496
|
-
</td>
|
1497
|
-
</tr>
|
1498
|
-
<tr>
|
1499
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1500
|
-
<td>a valid URI
|
1501
|
-
</td>
|
1502
|
-
</tr>
|
1503
|
-
<tr>
|
1504
|
-
<td><p><span class="term"><em class="parameter"><code>href</code></em> :</span></p></td>
|
1505
|
-
<td>the URI of the icon for the bookmark, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1506
|
-
</td>
|
1507
|
-
</tr>
|
1508
|
-
<tr>
|
1509
|
-
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
|
1510
|
-
<td>the MIME type of the icon for the bookmark
|
1511
|
-
</td>
|
1512
|
-
</tr>
|
1513
|
-
</tbody>
|
1514
|
-
</table></div>
|
1515
|
-
<p class="since">Since 2.12</p>
|
1516
|
-
</div>
|
1517
|
-
<hr>
|
1518
|
-
<div class="refsect2">
|
1519
|
-
<a name="g-bookmark-file-set-added"></a><h3>g_bookmark_file_set_added ()</h3>
|
1520
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_added (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1521
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1522
|
-
<em class="parameter"><code><span class="type">time_t</span> added</code></em>);</pre>
|
1523
|
-
<p>
|
1524
|
-
Sets the time the bookmark for <em class="parameter"><code>uri</code></em> was added into <em class="parameter"><code>bookmark</code></em>.
|
1525
|
-
</p>
|
1526
|
-
<p>
|
1527
|
-
If no bookmark for <em class="parameter"><code>uri</code></em> is found then it is created.
|
1528
|
-
</p>
|
1529
|
-
<div class="variablelist"><table border="0">
|
1530
|
-
<col align="left" valign="top">
|
1531
|
-
<tbody>
|
1532
|
-
<tr>
|
1533
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1534
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1535
|
-
</td>
|
1536
|
-
</tr>
|
1537
|
-
<tr>
|
1538
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1539
|
-
<td>a valid URI
|
1540
|
-
</td>
|
1541
|
-
</tr>
|
1542
|
-
<tr>
|
1543
|
-
<td><p><span class="term"><em class="parameter"><code>added</code></em> :</span></p></td>
|
1544
|
-
<td>a timestamp or -1 to use the current time
|
1545
|
-
</td>
|
1546
|
-
</tr>
|
1547
|
-
</tbody>
|
1548
|
-
</table></div>
|
1549
|
-
<p class="since">Since 2.12</p>
|
1550
|
-
</div>
|
1551
|
-
<hr>
|
1552
|
-
<div class="refsect2">
|
1553
|
-
<a name="g-bookmark-file-set-groups"></a><h3>g_bookmark_file_set_groups ()</h3>
|
1554
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_groups (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1555
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1556
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **groups</code></em>,
|
1557
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>);</pre>
|
1558
|
-
<p>
|
1559
|
-
Sets a list of group names for the item with URI <em class="parameter"><code>uri</code></em>. Each previously
|
1560
|
-
set group name list is removed.
|
1561
|
-
</p>
|
1562
|
-
<p>
|
1563
|
-
If <em class="parameter"><code>uri</code></em> cannot be found then an item for it is created.
|
1564
|
-
</p>
|
1565
|
-
<div class="variablelist"><table border="0">
|
1566
|
-
<col align="left" valign="top">
|
1567
|
-
<tbody>
|
1568
|
-
<tr>
|
1569
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1570
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1571
|
-
</td>
|
1572
|
-
</tr>
|
1573
|
-
<tr>
|
1574
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1575
|
-
<td>an item's URI
|
1576
|
-
</td>
|
1577
|
-
</tr>
|
1578
|
-
<tr>
|
1579
|
-
<td><p><span class="term"><em class="parameter"><code>groups</code></em> :</span></p></td>
|
1580
|
-
<td>an array of group names, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to remove all groups
|
1581
|
-
</td>
|
1582
|
-
</tr>
|
1583
|
-
<tr>
|
1584
|
-
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1585
|
-
<td>number of group name values in <em class="parameter"><code>groups</code></em>
|
1586
|
-
</td>
|
1587
|
-
</tr>
|
1588
|
-
</tbody>
|
1589
|
-
</table></div>
|
1590
|
-
<p class="since">Since 2.12</p>
|
1591
|
-
</div>
|
1592
|
-
<hr>
|
1593
|
-
<div class="refsect2">
|
1594
|
-
<a name="g-bookmark-file-set-modified"></a><h3>g_bookmark_file_set_modified ()</h3>
|
1595
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_modified (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1596
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1597
|
-
<em class="parameter"><code><span class="type">time_t</span> modified</code></em>);</pre>
|
1598
|
-
<p>
|
1599
|
-
Sets the last time the bookmark for <em class="parameter"><code>uri</code></em> was last modified.
|
1600
|
-
</p>
|
1601
|
-
<p>
|
1602
|
-
If no bookmark for <em class="parameter"><code>uri</code></em> is found then it is created.
|
1603
|
-
</p>
|
1604
|
-
<p>
|
1605
|
-
The "modified" time should only be set when the bookmark's meta-data
|
1606
|
-
was actually changed. Every function of <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> that
|
1607
|
-
modifies a bookmark also changes the modification time, except for
|
1608
|
-
<a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-visited" title="g_bookmark_file_set_visited ()"><code class="function">g_bookmark_file_set_visited()</code></a>.
|
1609
|
-
</p>
|
1610
|
-
<div class="variablelist"><table border="0">
|
1611
|
-
<col align="left" valign="top">
|
1612
|
-
<tbody>
|
1613
|
-
<tr>
|
1614
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1615
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1616
|
-
</td>
|
1617
|
-
</tr>
|
1618
|
-
<tr>
|
1619
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1620
|
-
<td>a valid URI
|
1621
|
-
</td>
|
1622
|
-
</tr>
|
1623
|
-
<tr>
|
1624
|
-
<td><p><span class="term"><em class="parameter"><code>modified</code></em> :</span></p></td>
|
1625
|
-
<td>a timestamp or -1 to use the current time
|
1626
|
-
</td>
|
1627
|
-
</tr>
|
1628
|
-
</tbody>
|
1629
|
-
</table></div>
|
1630
|
-
<p class="since">Since 2.12</p>
|
1631
|
-
</div>
|
1632
|
-
<hr>
|
1633
|
-
<div class="refsect2">
|
1634
|
-
<a name="g-bookmark-file-set-visited"></a><h3>g_bookmark_file_set_visited ()</h3>
|
1635
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_set_visited (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1636
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1637
|
-
<em class="parameter"><code><span class="type">time_t</span> visited</code></em>);</pre>
|
1638
|
-
<p>
|
1639
|
-
Sets the time the bookmark for <em class="parameter"><code>uri</code></em> was last visited.
|
1640
|
-
</p>
|
1641
|
-
<p>
|
1642
|
-
If no bookmark for <em class="parameter"><code>uri</code></em> is found then it is created.
|
1643
|
-
</p>
|
1644
|
-
<p>
|
1645
|
-
The "visited" time should only be set if the bookmark was launched,
|
1646
|
-
either using the command line retrieved by <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-app-info" title="g_bookmark_file_get_app_info ()"><code class="function">g_bookmark_file_get_app_info()</code></a>
|
1647
|
-
or by the default application for the bookmark's MIME type, retrieved
|
1648
|
-
using <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-mime-type" title="g_bookmark_file_get_mime_type ()"><code class="function">g_bookmark_file_get_mime_type()</code></a>. Changing the "visited" time
|
1649
|
-
does not affect the "modified" time.
|
1650
|
-
</p>
|
1651
|
-
<div class="variablelist"><table border="0">
|
1652
|
-
<col align="left" valign="top">
|
1653
|
-
<tbody>
|
1654
|
-
<tr>
|
1655
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1656
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1657
|
-
</td>
|
1658
|
-
</tr>
|
1659
|
-
<tr>
|
1660
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1661
|
-
<td>a valid URI
|
1662
|
-
</td>
|
1663
|
-
</tr>
|
1664
|
-
<tr>
|
1665
|
-
<td><p><span class="term"><em class="parameter"><code>visited</code></em> :</span></p></td>
|
1666
|
-
<td>a timestamp or -1 to use the current time
|
1667
|
-
</td>
|
1668
|
-
</tr>
|
1669
|
-
</tbody>
|
1670
|
-
</table></div>
|
1671
|
-
<p class="since">Since 2.12</p>
|
1672
|
-
</div>
|
1673
|
-
<hr>
|
1674
|
-
<div class="refsect2">
|
1675
|
-
<a name="g-bookmark-file-set-app-info"></a><h3>g_bookmark_file_set_app_info ()</h3>
|
1676
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_set_app_info (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1677
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1678
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1679
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exec</code></em>,
|
1680
|
-
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> count</code></em>,
|
1681
|
-
<em class="parameter"><code><span class="type">time_t</span> stamp</code></em>,
|
1682
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1683
|
-
<p>
|
1684
|
-
Sets the meta-data of application <em class="parameter"><code>name</code></em> inside the list of
|
1685
|
-
applications that have registered a bookmark for <em class="parameter"><code>uri</code></em> inside
|
1686
|
-
<em class="parameter"><code>bookmark</code></em>.
|
1687
|
-
</p>
|
1688
|
-
<p>
|
1689
|
-
You should rarely use this function; use <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-application" title="g_bookmark_file_add_application ()"><code class="function">g_bookmark_file_add_application()</code></a>
|
1690
|
-
and <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-application" title="g_bookmark_file_remove_application ()"><code class="function">g_bookmark_file_remove_application()</code></a> instead.
|
1691
|
-
</p>
|
1692
|
-
<p>
|
1693
|
-
<em class="parameter"><code>name</code></em> can be any UTF-8 encoded string used to identify an
|
1694
|
-
application.
|
1695
|
-
<em class="parameter"><code>exec</code></em> can have one of these two modifiers: "<code class="literal">f</code>", which will
|
1696
|
-
be expanded as the local file name retrieved from the bookmark's
|
1697
|
-
URI; "<code class="literal">u</code>", which will be expanded as the bookmark's URI.
|
1698
|
-
The expansion is done automatically when retrieving the stored
|
1699
|
-
command line using the <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-app-info" title="g_bookmark_file_get_app_info ()"><code class="function">g_bookmark_file_get_app_info()</code></a> function.
|
1700
|
-
<em class="parameter"><code>count</code></em> is the number of times the application has registered the
|
1701
|
-
bookmark; if is < 0, the current registration count will be increased
|
1702
|
-
by one, if is 0, the application with <em class="parameter"><code>name</code></em> will be removed from
|
1703
|
-
the list of registered applications.
|
1704
|
-
<em class="parameter"><code>stamp</code></em> is the Unix time of the last registration; if it is -1, the
|
1705
|
-
current time will be used.
|
1706
|
-
</p>
|
1707
|
-
<p>
|
1708
|
-
If you try to remove an application by setting its registration count to
|
1709
|
-
zero, and no bookmark for <em class="parameter"><code>uri</code></em> is found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
1710
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>; similarly,
|
1711
|
-
in the event that no application <em class="parameter"><code>name</code></em> has registered a bookmark
|
1712
|
-
for <em class="parameter"><code>uri</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
|
1713
|
-
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>. Otherwise, if no bookmark
|
1714
|
-
for <em class="parameter"><code>uri</code></em> is found, one is created.
|
1715
|
-
</p>
|
1716
|
-
<div class="variablelist"><table border="0">
|
1717
|
-
<col align="left" valign="top">
|
1718
|
-
<tbody>
|
1719
|
-
<tr>
|
1720
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1721
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1722
|
-
</td>
|
1723
|
-
</tr>
|
1724
|
-
<tr>
|
1725
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1726
|
-
<td>a valid URI
|
1727
|
-
</td>
|
1728
|
-
</tr>
|
1729
|
-
<tr>
|
1730
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1731
|
-
<td>an application's name
|
1732
|
-
</td>
|
1733
|
-
</tr>
|
1734
|
-
<tr>
|
1735
|
-
<td><p><span class="term"><em class="parameter"><code>exec</code></em> :</span></p></td>
|
1736
|
-
<td>an application's command line
|
1737
|
-
</td>
|
1738
|
-
</tr>
|
1739
|
-
<tr>
|
1740
|
-
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
|
1741
|
-
<td>the number of registrations done for this application
|
1742
|
-
</td>
|
1743
|
-
</tr>
|
1744
|
-
<tr>
|
1745
|
-
<td><p><span class="term"><em class="parameter"><code>stamp</code></em> :</span></p></td>
|
1746
|
-
<td>the time of the last registration for this application
|
1747
|
-
</td>
|
1748
|
-
</tr>
|
1749
|
-
<tr>
|
1750
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1751
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1752
|
-
</td>
|
1753
|
-
</tr>
|
1754
|
-
<tr>
|
1755
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1756
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application's meta-data was successfully
|
1757
|
-
changed.
|
1758
|
-
|
1759
|
-
</td>
|
1760
|
-
</tr>
|
1761
|
-
</tbody>
|
1762
|
-
</table></div>
|
1763
|
-
<p class="since">Since 2.12</p>
|
1764
|
-
</div>
|
1765
|
-
<hr>
|
1766
|
-
<div class="refsect2">
|
1767
|
-
<a name="g-bookmark-file-add-group"></a><h3>g_bookmark_file_add_group ()</h3>
|
1768
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_add_group (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1769
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1770
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group</code></em>);</pre>
|
1771
|
-
<p>
|
1772
|
-
Adds <em class="parameter"><code>group</code></em> to the list of groups to which the bookmark for <em class="parameter"><code>uri</code></em>
|
1773
|
-
belongs to.
|
1774
|
-
</p>
|
1775
|
-
<p>
|
1776
|
-
If no bookmark for <em class="parameter"><code>uri</code></em> is found then it is created.
|
1777
|
-
</p>
|
1778
|
-
<div class="variablelist"><table border="0">
|
1779
|
-
<col align="left" valign="top">
|
1780
|
-
<tbody>
|
1781
|
-
<tr>
|
1782
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1783
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1784
|
-
</td>
|
1785
|
-
</tr>
|
1786
|
-
<tr>
|
1787
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1788
|
-
<td>a valid URI
|
1789
|
-
</td>
|
1790
|
-
</tr>
|
1791
|
-
<tr>
|
1792
|
-
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
|
1793
|
-
<td>the group name to be added
|
1794
|
-
</td>
|
1795
|
-
</tr>
|
1796
|
-
</tbody>
|
1797
|
-
</table></div>
|
1798
|
-
<p class="since">Since 2.12</p>
|
1799
|
-
</div>
|
1800
|
-
<hr>
|
1801
|
-
<div class="refsect2">
|
1802
|
-
<a name="g-bookmark-file-add-application"></a><h3>g_bookmark_file_add_application ()</h3>
|
1803
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_bookmark_file_add_application (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1804
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1805
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1806
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exec</code></em>);</pre>
|
1807
|
-
<p>
|
1808
|
-
Adds the application with <em class="parameter"><code>name</code></em> and <em class="parameter"><code>exec</code></em> to the list of
|
1809
|
-
applications that have registered a bookmark for <em class="parameter"><code>uri</code></em> into
|
1810
|
-
<em class="parameter"><code>bookmark</code></em>.
|
1811
|
-
</p>
|
1812
|
-
<p>
|
1813
|
-
Every bookmark inside a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> must have at least an
|
1814
|
-
application registered. Each application must provide a name, a
|
1815
|
-
command line useful for launching the bookmark, the number of times
|
1816
|
-
the bookmark has been registered by the application and the last
|
1817
|
-
time the application registered this bookmark.
|
1818
|
-
</p>
|
1819
|
-
<p>
|
1820
|
-
If <em class="parameter"><code>name</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the name of the application will be the
|
1821
|
-
same returned by <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>; if <em class="parameter"><code>exec</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the
|
1822
|
-
command line will be a composition of the program name as
|
1823
|
-
returned by <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a> and the "<code class="literal">u</code>" modifier, which will be
|
1824
|
-
expanded to the bookmark's URI.
|
1825
|
-
</p>
|
1826
|
-
<p>
|
1827
|
-
This function will automatically take care of updating the
|
1828
|
-
registrations count and timestamping in case an application
|
1829
|
-
with the same <em class="parameter"><code>name</code></em> had already registered a bookmark for
|
1830
|
-
<em class="parameter"><code>uri</code></em> inside <em class="parameter"><code>bookmark</code></em>.
|
1831
|
-
</p>
|
1832
|
-
<p>
|
1833
|
-
If no bookmark for <em class="parameter"><code>uri</code></em> is found, one is created.
|
1834
|
-
</p>
|
1835
|
-
<div class="variablelist"><table border="0">
|
1836
|
-
<col align="left" valign="top">
|
1837
|
-
<tbody>
|
1838
|
-
<tr>
|
1839
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1840
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1841
|
-
</td>
|
1842
|
-
</tr>
|
1843
|
-
<tr>
|
1844
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1845
|
-
<td>a valid URI
|
1846
|
-
</td>
|
1847
|
-
</tr>
|
1848
|
-
<tr>
|
1849
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1850
|
-
<td>the name of the application registering the bookmark
|
1851
|
-
or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1852
|
-
</td>
|
1853
|
-
</tr>
|
1854
|
-
<tr>
|
1855
|
-
<td><p><span class="term"><em class="parameter"><code>exec</code></em> :</span></p></td>
|
1856
|
-
<td>command line to be used to launch the bookmark or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1857
|
-
</td>
|
1858
|
-
</tr>
|
1859
|
-
</tbody>
|
1860
|
-
</table></div>
|
1861
|
-
<p class="since">Since 2.12</p>
|
1862
|
-
</div>
|
1863
|
-
<hr>
|
1864
|
-
<div class="refsect2">
|
1865
|
-
<a name="g-bookmark-file-remove-group"></a><h3>g_bookmark_file_remove_group ()</h3>
|
1866
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_remove_group (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1867
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1868
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *group</code></em>,
|
1869
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1870
|
-
<p>
|
1871
|
-
Removes <em class="parameter"><code>group</code></em> from the list of groups to which the bookmark
|
1872
|
-
for <em class="parameter"><code>uri</code></em> belongs to.
|
1873
|
-
</p>
|
1874
|
-
<p>
|
1875
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
1876
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1877
|
-
In the event no group was defined, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
1878
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.
|
1879
|
-
</p>
|
1880
|
-
<div class="variablelist"><table border="0">
|
1881
|
-
<col align="left" valign="top">
|
1882
|
-
<tbody>
|
1883
|
-
<tr>
|
1884
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1885
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1886
|
-
</td>
|
1887
|
-
</tr>
|
1888
|
-
<tr>
|
1889
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1890
|
-
<td>a valid URI
|
1891
|
-
</td>
|
1892
|
-
</tr>
|
1893
|
-
<tr>
|
1894
|
-
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
|
1895
|
-
<td>the group name to be removed
|
1896
|
-
</td>
|
1897
|
-
</tr>
|
1898
|
-
<tr>
|
1899
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1900
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1901
|
-
</td>
|
1902
|
-
</tr>
|
1903
|
-
<tr>
|
1904
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1905
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> was successfully removed.
|
1906
|
-
|
1907
|
-
</td>
|
1908
|
-
</tr>
|
1909
|
-
</tbody>
|
1910
|
-
</table></div>
|
1911
|
-
<p class="since">Since 2.12</p>
|
1912
|
-
</div>
|
1913
|
-
<hr>
|
1914
|
-
<div class="refsect2">
|
1915
|
-
<a name="g-bookmark-file-remove-application"></a><h3>g_bookmark_file_remove_application ()</h3>
|
1916
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_remove_application (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1917
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1918
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1919
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1920
|
-
<p>
|
1921
|
-
Removes application registered with <em class="parameter"><code>name</code></em> from the list of applications
|
1922
|
-
that have registered a bookmark for <em class="parameter"><code>uri</code></em> inside <em class="parameter"><code>bookmark</code></em>.
|
1923
|
-
</p>
|
1924
|
-
<p>
|
1925
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
1926
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
1927
|
-
In the event that no application with name <em class="parameter"><code>app_name</code></em> has registered
|
1928
|
-
a bookmark for <em class="parameter"><code>uri</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
|
1929
|
-
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>.
|
1930
|
-
</p>
|
1931
|
-
<div class="variablelist"><table border="0">
|
1932
|
-
<col align="left" valign="top">
|
1933
|
-
<tbody>
|
1934
|
-
<tr>
|
1935
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1936
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1937
|
-
</td>
|
1938
|
-
</tr>
|
1939
|
-
<tr>
|
1940
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1941
|
-
<td>a valid URI
|
1942
|
-
</td>
|
1943
|
-
</tr>
|
1944
|
-
<tr>
|
1945
|
-
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1946
|
-
<td>the name of the application
|
1947
|
-
</td>
|
1948
|
-
</tr>
|
1949
|
-
<tr>
|
1950
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1951
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1952
|
-
</td>
|
1953
|
-
</tr>
|
1954
|
-
<tr>
|
1955
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1956
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application was successfully removed.
|
1957
|
-
|
1958
|
-
</td>
|
1959
|
-
</tr>
|
1960
|
-
</tbody>
|
1961
|
-
</table></div>
|
1962
|
-
<p class="since">Since 2.12</p>
|
1963
|
-
</div>
|
1964
|
-
<hr>
|
1965
|
-
<div class="refsect2">
|
1966
|
-
<a name="g-bookmark-file-remove-item"></a><h3>g_bookmark_file_remove_item ()</h3>
|
1967
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_remove_item (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
1968
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *uri</code></em>,
|
1969
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1970
|
-
<p>
|
1971
|
-
Removes the bookmark for <em class="parameter"><code>uri</code></em> from the bookmark file <em class="parameter"><code>bookmark</code></em>.
|
1972
|
-
</p>
|
1973
|
-
<div class="variablelist"><table border="0">
|
1974
|
-
<col align="left" valign="top">
|
1975
|
-
<tbody>
|
1976
|
-
<tr>
|
1977
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
1978
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
1979
|
-
</td>
|
1980
|
-
</tr>
|
1981
|
-
<tr>
|
1982
|
-
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1983
|
-
<td>a valid URI
|
1984
|
-
</td>
|
1985
|
-
</tr>
|
1986
|
-
<tr>
|
1987
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1988
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1989
|
-
</td>
|
1990
|
-
</tr>
|
1991
|
-
<tr>
|
1992
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1993
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the bookmark was removed successfully.
|
1994
|
-
|
1995
|
-
</td>
|
1996
|
-
</tr>
|
1997
|
-
</tbody>
|
1998
|
-
</table></div>
|
1999
|
-
<p class="since">Since 2.12</p>
|
2000
|
-
</div>
|
2001
|
-
<hr>
|
2002
|
-
<div class="refsect2">
|
2003
|
-
<a name="g-bookmark-file-move-item"></a><h3>g_bookmark_file_move_item ()</h3>
|
2004
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_bookmark_file_move_item (<em class="parameter"><code><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> *bookmark</code></em>,
|
2005
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *old_uri</code></em>,
|
2006
|
-
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *new_uri</code></em>,
|
2007
|
-
<em class="parameter"><code><a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2008
|
-
<p>
|
2009
|
-
Changes the URI of a bookmark item from <em class="parameter"><code>old_uri</code></em> to <em class="parameter"><code>new_uri</code></em>. Any
|
2010
|
-
existing bookmark for <em class="parameter"><code>new_uri</code></em> will be overwritten. If <em class="parameter"><code>new_uri</code></em> is
|
2011
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, then the bookmark is removed.
|
2012
|
-
</p>
|
2013
|
-
<p>
|
2014
|
-
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
|
2015
|
-
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
|
2016
|
-
</p>
|
2017
|
-
<div class="variablelist"><table border="0">
|
2018
|
-
<col align="left" valign="top">
|
2019
|
-
<tbody>
|
2020
|
-
<tr>
|
2021
|
-
<td><p><span class="term"><em class="parameter"><code>bookmark</code></em> :</span></p></td>
|
2022
|
-
<td>a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
|
2023
|
-
</td>
|
2024
|
-
</tr>
|
2025
|
-
<tr>
|
2026
|
-
<td><p><span class="term"><em class="parameter"><code>old_uri</code></em> :</span></p></td>
|
2027
|
-
<td>a valid URI
|
2028
|
-
</td>
|
2029
|
-
</tr>
|
2030
|
-
<tr>
|
2031
|
-
<td><p><span class="term"><em class="parameter"><code>new_uri</code></em> :</span></p></td>
|
2032
|
-
<td>a valid URI, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2033
|
-
</td>
|
2034
|
-
</tr>
|
2035
|
-
<tr>
|
2036
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2037
|
-
<td>return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
2038
|
-
</td>
|
2039
|
-
</tr>
|
2040
|
-
<tr>
|
2041
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2042
|
-
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the URI was successfully changed
|
2043
|
-
|
2044
|
-
</td>
|
2045
|
-
</tr>
|
2046
|
-
</tbody>
|
2047
|
-
</table></div>
|
2048
|
-
<p class="since">Since 2.12</p>
|
2049
|
-
</div>
|
2050
|
-
</div>
|
2051
|
-
</div>
|
2052
|
-
<div class="footer">
|
2053
|
-
<hr>
|
2054
|
-
Generated by GTK-Doc V1.15.1</div>
|
2055
|
-
</body>
|
2056
|
-
</html>
|