fix leak, patch by Kjartan Maaras. (#153595).
2004-10-17 Paolo Borelli <pborelli@katamail.com> * capplets/common/activate-settings-daemon.c: fix leak, patch by Kjartan Maaras. (#153595). approved by jrb.
This commit is contained in:
parent
b2b3154710
commit
3c53e1ee00
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-10-17 Paolo Borelli <pborelli@katamail.com>
|
||||||
|
|
||||||
|
* capplets/common/activate-settings-daemon.c: fix leak, patch by
|
||||||
|
Kjartan Maaras. (#153595)
|
||||||
|
|
||||||
2004-10-17 Sergey V. Udaltsov <svu@gnome.org>
|
2004-10-17 Sergey V. Udaltsov <svu@gnome.org>
|
||||||
|
|
||||||
* configure.in : require libxklavier 1.10 - since API was changed
|
* configure.in : require libxklavier 1.10 - since API was changed
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
/*#include "GNOME_SettingsDaemon.h"*/
|
/*#include "GNOME_SettingsDaemon.h"*/
|
||||||
|
|
||||||
static void popup_error_message ()
|
static void popup_error_message (void)
|
||||||
{
|
{
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
|
|
||||||
|
|
|
@ -418,7 +418,7 @@ handle_change_signal (GnomeThemeType type,
|
||||||
GnomeThemeChangeType change_type,
|
GnomeThemeChangeType change_type,
|
||||||
GnomeThemeElement element)
|
GnomeThemeElement element)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
gchar *type_str = NULL;
|
gchar *type_str = NULL;
|
||||||
gchar *element_str = NULL;
|
gchar *element_str = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
@ -441,7 +441,7 @@ handle_change_signal (GnomeThemeType type,
|
||||||
(* callback_data->func) (uri, callback_data->data);
|
(* callback_data->func) (uri, callback_data->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
if (change_type == GNOME_THEME_CHANGE_CREATED)
|
if (change_type == GNOME_THEME_CHANGE_CREATED)
|
||||||
type_str = "created";
|
type_str = "created";
|
||||||
else if (change_type == GNOME_THEME_CHANGE_CHANGED)
|
else if (change_type == GNOME_THEME_CHANGE_CHANGED)
|
||||||
|
@ -1382,6 +1382,8 @@ gnome_theme_icon_info_new (void)
|
||||||
void
|
void
|
||||||
gnome_theme_icon_info_free (GnomeThemeIconInfo *icon_theme_info)
|
gnome_theme_icon_info_free (GnomeThemeIconInfo *icon_theme_info)
|
||||||
{
|
{
|
||||||
|
g_free (icon_theme_info->name);
|
||||||
|
g_free (icon_theme_info->path);
|
||||||
g_free (icon_theme_info);
|
g_free (icon_theme_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue