From 070e56e2bb8ffafd75e831dc17e5434bf706036f Mon Sep 17 00:00:00 2001 From: puppetmaster Date: Mon, 25 Jul 2005 12:48:10 +0000 Subject: fix for struct usage ... -> and not "." --- ecore_x_scrnsaver.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ecore_x_scrnsaver.c b/ecore_x_scrnsaver.c index d524086..c604801 100644 --- a/ecore_x_scrnsaver.c +++ b/ecore_x_scrnsaver.c @@ -15,13 +15,13 @@ ecore_x_scrnsaver_query(Ecore_X_Screensaver_Query *info_query) Bool ext_result; /* Query extention */ - ext_result = XScreenSaverQueryExtension(ecore_x_disp, &info_query.event_basep, &info_query.error_basep); + ext_result = XScreenSaverQueryExtension(ecore_x_disp, info_query->event_basep, info_query->error_basep); /* Query version and status */ - info_query.ScreenSaver_status = XScreenSaverQueryVersion(ecore_x_disp, &info_query.major_version, &info_query.major_version); + info_query->ScreenSaver_status = XScreenSaverQueryVersion(ecore_x_disp, info_query->major_version, info_query->major_version); - if (Queryresult == 0) - return 0; - else + if (!ext_result) return 1; + else + return 0; } -- cgit v1.2.3