Skip to content

Commit

Permalink
refactor: Remove useless create_win_gtab() when reloading
Browse files Browse the repository at this point in the history
In reload_data(), it would call the init_in_method(), which includes
what create_win_gtab() does.
Therefore, create_win_gtab() should be removed.
  • Loading branch information
marktwtn committed May 23, 2023
1 parent 0171661 commit 629f2d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hime.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ void destroy_inmd_menu ();
void load_gtab_list (gboolean);
void change_win1_font ();
void set_wselkey (char *s);
void create_win_gtab ();

#if TRAY_ENABLED
void disp_tray_icon ();
Expand Down Expand Up @@ -327,7 +326,6 @@ static void reload_data () {
// load_tsin_db();
change_win0_style ();
change_win1_font ();
create_win_gtab ();
change_win_gtab_style ();
// change_win_pho_style();
load_tab_pho_file ();
Expand Down

0 comments on commit 629f2d0

Please sign in to comment.