diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2002-09-13 20:41:12 +0000 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2002-09-13 20:41:12 +0000 |
commit | dec1de96b9d0506f06100eebb37abf0d5da4a954 (patch) | |
tree | 73470147820664299a0e7bcbece99d6a94c54a59 /panel-menu | |
parent | 9df0808ef62f1b355d0379bdabbe1bb27474c9be (diff) |
Don't leak the style.
2002-09-13 Kjartan Maraas <kmaraas@gnome.org>
* panel-applet.c (panel_menu_background_restore): Don't leak
the style.
Diffstat (limited to 'panel-menu')
-rw-r--r-- | panel-menu/ChangeLog | 5 | ||||
-rw-r--r-- | panel-menu/panel-menu.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/panel-menu/ChangeLog b/panel-menu/ChangeLog index 9d8244e27..86bb1c596 100644 --- a/panel-menu/ChangeLog +++ b/panel-menu/ChangeLog @@ -1,3 +1,8 @@ +2002-09-13 Kjartan Maraas <kmaraas@gnome.org> + + * panel-applet.c (panel_menu_background_restore): Don't leak + the style. + 2002-07-11 Mark McLoughlin <mark@skynet.ie> * panel-menu-common.[ch]: diff --git a/panel-menu/panel-menu.c b/panel-menu/panel-menu.c index 71b157964..87e250955 100644 --- a/panel-menu/panel-menu.c +++ b/panel-menu/panel-menu.c @@ -273,6 +273,7 @@ panel_menu_background_restore (PanelMenu *panel_menu) rc_style = gtk_rc_style_new (); gtk_widget_modify_style (panel_menu->menubar, rc_style); + gtk_rc_style_unref (rc_style); } static gboolean |