2006-12-02 Dan Williams <dcbw@redhat.com>

* gnome/applet/applet.c
		- (nma_update_info): fix two unecessary allocations


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2144 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2006-12-03 04:02:53 +00:00
parent 3b0b5d9a16
commit ba204142fb
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2006-12-02 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
- (nma_update_info): fix two unecessary allocations
2006-12-02 Dan Williams <dcbw@redhat.com>
Patch from Michael Biebl <biebl@teco.edu>

View file

@ -201,9 +201,8 @@ static gboolean nma_update_info (NMApplet *applet)
info_dialog = glade_xml_get_widget (applet->info_dialog_xml, "info_dialog");
if (!info_dialog)
{
char *err = g_strdup (_("Could not find some required resources (the glade file)!"));
const char *err = _("Could not find some required resources (the glade file)!");
nma_show_socket_err (info_dialog, err);
g_free (err);
return FALSE;
}
@ -212,9 +211,8 @@ static gboolean nma_update_info (NMApplet *applet)
if (!dev || !iface)
{
char *err = g_strdup (_("No active connections!"));
const char *err = _("No active connections!");
nma_show_socket_err (info_dialog, err);
g_free (err);
return FALSE;
}