X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgwin32mount.c;h=58986a1ac8bb55fae98be854fa255a067471fb9f;hb=33b9935efc82f8cc4747dfea2743129dfc418d19;hp=3b9f616ae1b22753887cbfe3ac900b738eb6900a;hpb=a2dca48bf75efcc684cfc670b4552a2c5c77d1a2;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gwin32mount.c b/gio/gwin32mount.c index 3b9f616..58986a1 100644 --- a/gio/gwin32mount.c +++ b/gio/gwin32mount.c @@ -14,9 +14,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: Alexander Larsson * David Zeuthen @@ -106,7 +104,7 @@ g_win32_mount_init (GWin32Mount *win32_mount) { } -gchar * +static gchar * _win32_get_displayname (const char *drive) { gunichar2 *wdrive = g_utf8_to_utf16 (drive, -1, NULL, NULL, NULL); @@ -119,7 +117,7 @@ _win32_get_displayname (const char *drive) return name ? name : g_strdup (drive); } -/* +/** * _g_win32_mount_new: * @volume_monitor: a #GVolumeMonitor. * @path: a win32 path. @@ -194,7 +192,7 @@ g_win32_mount_get_root (GMount *mount) return g_file_new_for_path (win32_mount->mount_path); } -const char * +static const char * _win32_drive_type_to_icon (int type, gboolean use_symbolic) { switch (type) @@ -230,7 +228,7 @@ g_win32_mount_get_icon (GMount *mount) } else { - win32_mount->icon = g_themed_icon_new_with_default_fallbacks (_win32_drive_type_to_icon (win32_mount->drive_type, FALSE); + win32_mount->icon = g_themed_icon_new_with_default_fallbacks (_win32_drive_type_to_icon (win32_mount->drive_type, FALSE)); } } @@ -247,7 +245,7 @@ g_win32_mount_get_symbolic_icon (GMount *mount) /* lazy creation */ if (!win32_mount->symbolic_icon) { - win32_mount->symbolic_icon = g_themed_icon_new_with_default_fallbacks (_win32_drive_type_to_icon (win32_mount->drive_type, TRUE); + win32_mount->symbolic_icon = g_themed_icon_new_with_default_fallbacks (_win32_drive_type_to_icon (win32_mount->drive_type, TRUE)); } return g_object_ref (win32_mount->symbolic_icon);