diff include/mb_redraw_man.h @ 757:f43224bf3524

Remove unused variables and refactor to X_MB_init_with_win
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 26 Aug 2010 17:54:11 +0800
parents cbad519226d4
children 586e50f82c1f
line wrap: on
line diff
--- a/include/mb_redraw_man.h	Thu Aug 26 14:54:50 2010 +0800
+++ b/include/mb_redraw_man.h	Thu Aug 26 17:54:11 2010 +0800
@@ -250,7 +250,7 @@
  */
 typedef struct {
     
-    void *(*init)(char *display,int w,int h);
+    void *(*init)(const char *display,int w,int h);
     void (*free)(void *be);
     void (*add_event)(void *be,int type, int fd, mb_eventcb_t f,void *arg);
     void (*remove_event)(void *be,int type, int fd);