Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : screenshot
Dir : e_modules/screenshot
Modified Files:
e_mod_config.c
Log Message:
Set pointer to config dialogue to NULL when closing
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/screenshot/e_mod_config.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_config.c 6 Jan 2006 21:10:37 -0000 1.6
+++ e_mod_config.c 8 Jan 2006 09:26:45 -0000 1.7
@@ -1,5 +1,6 @@
#include "e.h"
#include "e_mod_main.h"
+#include "e_mod_config.h"
#include "config.h"
#define S_METHOD_IMPORT 0
@@ -58,7 +59,7 @@
static int _advanced_apply_data(E_Config_Dialog *cfd, CFData *cfdata);
/* Config Calls */
-void
+EAPI void
_config_screenshot_module(E_Container *con, Screen *s)
{
E_Config_Dialog *cfd;
@@ -141,6 +142,10 @@
static void
_free_data(E_Config_Dialog *cfd, CFData *cfdata)
{
+ Screen *s;
+
+ s = cfd->data;
+ s->config_dialog = NULL;
/* Free the cfdata */
free(cfdata);
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs