[gnome-applets] fix some minor deprecations and 2 more translation typos



commit 231a7985c5e1a136874709eaf5bd95ff30592c0c
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Sun Jul 21 13:30:32 2013 -0400

    fix some minor deprecations and 2 more translation typos

 cpufreq/src/cpufreq-selector/main.c            |    4 +++-
 drivemount/drive-button.c                      |    2 +-
 drivemount/help/fi/fi.po                       |    2 +-
 drivemount/help/ru/ru.po                       |    2 +-
 mini-commander/src/mc-install-default-macros.c |    4 +++-
 5 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/cpufreq/src/cpufreq-selector/main.c b/cpufreq/src/cpufreq-selector/main.c
index 8d92b20..c3ed9ab 100644
--- a/cpufreq/src/cpufreq-selector/main.c
+++ b/cpufreq/src/cpufreq-selector/main.c
@@ -183,7 +183,9 @@ main (gint argc, gchar **argv)
        }
 #endif
        
-       g_type_init ();
+       #if !defined(GLIB_VERSION_2_36)
+               g_type_init ();
+       #endif
 
        context = g_option_context_new ("- CPUFreq Selector");
        g_option_context_add_main_entries (context, options, NULL);
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 465f3db..9bd83af 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -374,7 +374,7 @@ drive_button_update (gpointer user_data)
     if (icon_info)
     {
        pixbuf = gtk_icon_info_load_icon (icon_info, NULL);
-       gtk_icon_info_free (icon_info);
+       g_object_unref (icon_info);
     }
 
     g_object_unref (icon);
diff --git a/drivemount/help/fi/fi.po b/drivemount/help/fi/fi.po
index 0688b0f..3188558 100644
--- a/drivemount/help/fi/fi.po
+++ b/drivemount/help/fi/fi.po
@@ -270,7 +270,7 @@ msgstr "<application>Levynliitin</application> -sovellus mahdollistaa monille as
 
 #: C/drivemount.xml:184(para) 
 msgid "For the <application>Disk Mounter</application> to work properly, your system administrator must 
configure your system appropriately. For more information about the necessary system administration tasks, 
see <ulink url=\"man:fstab\" 
type=\"man\"><citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink>."
-msgstr "Jotta <application>Levynliitin<application> -sovellus toimisi kunnolla, järjestelmäsi pääkäyttäjän 
on asetettava järjestelmäsi asetukset sopiviksi. Saadaksesi lisätietoja tärkeimmistä pääkäyttäjän tehtävistä, 
katso <ulink url=\"man:fstab\" 
type=\"man\"><citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink>."
+msgstr "Jotta <application>Levynliitin</application> -sovellus toimisi kunnolla, järjestelmäsi pääkäyttäjän 
on asetettava järjestelmäsi asetukset sopiviksi. Saadaksesi lisätietoja tärkeimmistä pääkäyttäjän tehtävistä, 
katso <ulink url=\"man:fstab\" 
type=\"man\"><citerefentry><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry></ulink>."
 
 #: C/drivemount.xml:189(title) 
 msgid "To Add Disk Mounter to a Panel"
diff --git a/drivemount/help/ru/ru.po b/drivemount/help/ru/ru.po
index 4267b08..f5a5dd8 100644
--- a/drivemount/help/ru/ru.po
+++ b/drivemount/help/ru/ru.po
@@ -94,7 +94,7 @@ msgstr "Проект документации GNOME"
 
 #: C/drivemount.xml:2(para)
 msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free 
Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with 
no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this 
<ulink type=\"help\" url=\"help:fdl\">link</ulink> or in the file COPYING-DOCS distributed with this manual."
-msgstr "Следующим разрешается копировать и/или модифицировать этот документ при условии соблюдения GNU Free 
Documentation License (GFDL), версии 1.1 или любой более поздней опубликованной ассоциацией свободного 
программного обеспечения версией без неизменяемых частей, без текстов на обложках. Вы можете найти копию 
лицензии по этой <ulink·type=\"help\"·url=\"help:fdl\">ссылке</ulink> или в файле COPYING-DOCS, 
распространяемом с этим документом."
+msgstr "Следующим разрешается копировать и/или модифицировать этот документ при условии соблюдения GNU Free 
Documentation License (GFDL), версии 1.1 или любой более поздней опубликованной ассоциацией свободного 
программного обеспечения версией без неизменяемых частей, без текстов на обложках. Вы можете найти копию 
лицензии по этой <ulink type=\"help\" url=\"help:fdl\">ссылке</ulink> или в файле COPYING-DOCS, 
распространяемом с этим документом."
 
 #: C/drivemount.xml:12(para)
 msgid "This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to 
distribute this manual separately from the collection, you can do so by adding a copy of the license to the 
manual, as described in section 6 of the license."
diff --git a/mini-commander/src/mc-install-default-macros.c b/mini-commander/src/mc-install-default-macros.c
index d356558..8032f3b 100644
--- a/mini-commander/src/mc-install-default-macros.c
+++ b/mini-commander/src/mc-install-default-macros.c
@@ -130,7 +130,9 @@ main (int argc, char **argv)
                return 0;
        }
 
-       g_type_init ();
+        #if !defined(GLIB_VERSION_2_36)
+                g_type_init ();
+        #endif
 
        config_source = g_getenv ("GCONF_CONFIG_SOURCE");
        if (!config_source) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]