From 0c4a0e61b6e274eaae7e3ef11677000199c1b0f1 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 24 May 2011 11:11:59 -0500 Subject: gsmdial: Update to new API --- gatchat/gsmdial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gatchat/gsmdial.c') diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index a10e7cb4..f8a980ad 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -312,7 +312,7 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) g_at_chat_suspend(modem); /* open ppp */ - ppp = g_at_ppp_new_from_io(io); + ppp = g_at_ppp_new(); if (ppp == NULL) { g_print("Unable to create PPP object\n"); exit(1); @@ -329,7 +329,7 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) g_at_ppp_set_disconnect_function(ppp, ppp_disconnect, NULL); /* open the ppp connection */ - g_at_ppp_open(ppp); + g_at_ppp_open(ppp, io); } static void at_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data) -- cgit v1.2.3