FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Advisory Board

 
 
LinkBack Thread Tools
 
Old 07-19-2010, 01:27 PM
Radek Vykydal
 
Default Init g_type in is_wireless_device.

Causes glib errors of this sort in anaconda 14.11:
(process:424): GLib-GObject-CRITICAL **: gtype.c:2710:
You forgot to call g_type_init()

---
pyanaconda/isys/iface.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/isys/iface.c b/pyanaconda/isys/iface.c
index afdc59f..0a9ad6c 100644
--- a/pyanaconda/isys/iface.c
+++ b/pyanaconda/isys/iface.c
@@ -552,6 +552,8 @@ int is_wireless_device(char *ifname){
const char *iface;
int i;

+ g_type_init();
+
client = nm_client_new();
if (!client) {
return 0;
--
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-19-2010, 01:41 PM
Ales Kozumplik
 
Default Init g_type in is_wireless_device.

On 07/19/2010 03:27 PM, Radek Vykydal wrote:

Causes glib errors of this sort in anaconda 14.11:
(process:424): GLib-GObject-CRITICAL **: gtype.c:2710:
You forgot to call g_type_init()



Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org