don't leak the application or the GladeXML
2008-08-08 Jens Granseuer <jensgr@gmx.net> * xrandr-capplet.c: (run_application), (main): don't leak the application or the GladeXML svn path=/trunk/; revision=8847
This commit is contained in:
parent
f34d90a042
commit
84963ec8ef
2 changed files with 116 additions and 108 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-08-08 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* xrandr-capplet.c: (run_application), (main): don't leak the
|
||||||
|
application or the GladeXML
|
||||||
|
|
||||||
Tue Aug 5 03:19:23 2008 Søren Sandmann <sandmann@redhat.com>
|
Tue Aug 5 03:19:23 2008 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* xrandr-capplet.c (paint_output): Draw rotated outputs rotated.
|
* xrandr-capplet.c (paint_output): Draw rotated outputs rotated.
|
||||||
|
|
|
@ -1757,6 +1757,7 @@ run_application (App *app)
|
||||||
|
|
||||||
gtk_widget_hide (app->panel_checkbox);
|
gtk_widget_hide (app->panel_checkbox);
|
||||||
gtk_widget_hide (app->panel_label);
|
gtk_widget_hide (app->panel_label);
|
||||||
|
g_object_unref (xml);
|
||||||
|
|
||||||
restart:
|
restart:
|
||||||
switch (gtk_dialog_run (GTK_DIALOG (app->dialog)))
|
switch (gtk_dialog_run (GTK_DIALOG (app->dialog)))
|
||||||
|
@ -1797,5 +1798,7 @@ main (int argc, char **argv)
|
||||||
|
|
||||||
run_application (app);
|
run_application (app);
|
||||||
|
|
||||||
|
g_free (app);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue