[gnome-control-center] Default to g_get_host_name if pretty hostname call failed
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Default to g_get_host_name if pretty hostname call failed
- Date: Mon, 8 Aug 2011 16:19:18 +0000 (UTC)
commit 9c6613700f45d9927b109d845efdb71476bc48a5
Author: Mathieu Trudel-Lapierre <mathieu trudel-lapierre canonical com>
Date: Mon Aug 8 18:19:23 2011 +0200
Default to g_get_host_name if pretty hostname call failed
panels/network/cc-network-panel.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 13bfcab..f88633a 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -2657,7 +2657,6 @@ get_hostname (void)
if (error != NULL) {
g_warning ("Getting pretty hostname failed: %s", error->message);
g_error_free (error);
- return NULL;
}
str = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]