Mercurial > MadButterfly
comparison src/X_supp.c @ 692:201cc86720a3
Fix compiling time warning about cairo xlib
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 09 Aug 2010 09:09:19 +0800 |
parents | 05a453e07d01 |
children | 8b7964869f7a |
comparison
equal
deleted
inserted
replaced
691:05a453e07d01 | 692:201cc86720a3 |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include <string.h> | 3 #include <string.h> |
4 #include <X11/Xlib.h> | 4 #include <X11/Xlib.h> |
5 #include <X11/Xutil.h> | 5 #include <X11/Xutil.h> |
6 #include <cairo-xlib.h> | |
6 #include "mb_graph_engine.h" | 7 #include "mb_graph_engine.h" |
7 #include "mb_redraw_man.h" | 8 #include "mb_redraw_man.h" |
8 #include "mb_timer.h" | 9 #include "mb_timer.h" |
9 #include "mb_X_supp.h" | 10 #include "mb_X_supp.h" |
10 | 11 |
696 return factory; | 697 return factory; |
697 } | 698 } |
698 | 699 |
699 mb_img_ldr_t *X_MB_img_ldr(void *rt) { | 700 mb_img_ldr_t *X_MB_img_ldr(void *rt) { |
700 X_MB_runtime_t *xmb_rt = (X_MB_runtime_t *) rt; | 701 X_MB_runtime_t *xmb_rt = (X_MB_runtime_t *) rt; |
701 X_MB_runtime_t *img_ldr; | 702 mb_img_ldr_t *img_ldr; |
702 | 703 |
703 img_ldr = xmb_rt->img_ldr; | 704 img_ldr = xmb_rt->img_ldr; |
704 | 705 |
705 return img_ldr; | 706 return img_ldr; |
706 } | 707 } |