[anjuta] python-assist: don't use deprecated functions



commit 7f49185fd547054530518d5a770bba27bf5f0d31
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Fri Feb 15 01:08:22 2013 +0100

    python-assist: don't use deprecated functions
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694048

 plugins/language-support-python/plugin.c        |    2 +-
 plugins/language-support-python/python-assist.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/language-support-python/plugin.c b/plugins/language-support-python/plugin.c
index b2b7bde..9466eab 100644
--- a/plugins/language-support-python/plugin.c
+++ b/plugins/language-support-python/plugin.c
@@ -157,7 +157,7 @@ language_support_get_signal_parameter (const gchar* type_name, GList** names)
        if (param_name && strlen (param_name))
        {
                param_string = g_string_new (param_name);
-               g_string_down (param_string);
+               g_string_ascii_down (param_string);
        }
        else
        {
diff --git a/plugins/language-support-python/python-assist.c b/plugins/language-support-python/python-assist.c
index 05649e5..286fab8 100644
--- a/plugins/language-support-python/python-assist.c
+++ b/plugins/language-support-python/python-assist.c
@@ -437,7 +437,7 @@ on_calltip_finished (AnjutaLauncher* launcher,
        {
                GString* calltip_text = g_string_new (assist->priv->calltip_cache->str);
                assist->priv->tips = g_list_prepend (NULL, calltip_text->str);
-               if (g_strncasecmp ("None", assist->priv->tips->data, 4))
+               if (g_ascii_strncasecmp ("None", assist->priv->tips->data, 4))
                {
                        ianjuta_editor_tip_show (IANJUTA_EDITOR_TIP(assist->priv->itip),
                                                     assist->priv->tips,


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