don't leak the references to the glade dialog and GnomeProgram
2007-01-31 Jens Granseuer <jensgr@gmx.net> * gnome-window-properties.c: (main): don't leak the references to the glade dialog and GnomeProgram svn path=/trunk/; revision=7216
This commit is contained in:
parent
03bba8dc56
commit
6c52e0a535
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-31 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* gnome-window-properties.c: (main): don't leak the references to the
|
||||||
|
glade dialog and GnomeProgram
|
||||||
|
|
||||||
2007-01-07 Thomas Wood <thos@gnome.org>
|
2007-01-07 Thomas Wood <thos@gnome.org>
|
||||||
|
|
||||||
Patch by: Elijah Newren <newren@gmail.com>
|
Patch by: Elijah Newren <newren@gmail.com>
|
||||||
|
|
|
@ -416,6 +416,7 @@ try_spawn_config_tool (GdkScreen *screen)
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
GnomeProgram *program;
|
||||||
GdkScreen *screen;
|
GdkScreen *screen;
|
||||||
GnomeWMSettings new_settings;
|
GnomeWMSettings new_settings;
|
||||||
int i;
|
int i;
|
||||||
|
@ -424,7 +425,7 @@ main (int argc, char **argv)
|
||||||
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
||||||
textdomain (GETTEXT_PACKAGE);
|
textdomain (GETTEXT_PACKAGE);
|
||||||
|
|
||||||
gnome_program_init ("gnome-window-properties", VERSION,
|
program = gnome_program_init ("gnome-window-properties", VERSION,
|
||||||
LIBGNOMEUI_MODULE, argc, argv,
|
LIBGNOMEUI_MODULE, argc, argv,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
@ -518,6 +519,8 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
|
||||||
|
g_object_unref (dialog);
|
||||||
|
g_object_unref (program);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue