Code cleanup: warning fixes.
[blender.git] / source / blender / editors / space_image / image_buttons.c
index c48078118a75701d3bc9874143fda5594112ac7c..60c553752628f60a401885fdd18d9379cc7cfd43 100644 (file)
 
 /* proto */
 
-static void do_image_panel_events(bContext *C, void *UNUSED(arg), int event)
-{
-       SpaceImage *sima= CTX_wm_space_image(C);
-       
-       switch(event) {
-               case B_REDR:
-                       break;
-       }
-
-       /* all events now */
-       WM_event_add_notifier(C, NC_IMAGE, sima->image);
-}
-
 static void image_info(Scene *scene, ImageUser *iuser, Image *ima, ImBuf *ibuf, char *str)
 {
        int ofs= 0;