00001 00012 #define GITK_LIB_C 00013 #define GITK_LAYOUT_C 00014 00015 #include "gitkincludes.h" 00016 00017 00020 void gitk_relayout(void) { 00021 // hide and re-show all dialogs 00022 if(gitk_dialog_list) { 00023 GList* node=g_list_first(gitk_dialog_list); 00024 GitkDialogPtr dialog; 00025 00026 gitk_log("before changing all dialogs"); 00027 while(node) { 00028 dialog=(GitkDialogPtr)node->data; 00029 gitk_renderer->gitkr_dialog_hide(dialog); 00030 gitk_dialog_invalidate(dialog); 00031 gitk_renderer->gitkr_dialog_show(dialog); 00032 node=g_list_next(node); 00033 } 00034 } 00035 gitk_log("before reactivating event-loop"); 00036 }