diff options
-rwxr-xr-x | include/my-account-view.h | 3 | ||||
-rw-r--r-- | src/my-account-view-main.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/my-account-view.h b/include/my-account-view.h index 5ab4693..f1998ec 100755 --- a/include/my-account-view.h +++ b/include/my-account-view.h @@ -64,10 +64,9 @@ typedef struct { bool _myaccount_view_main_create(void *data); int _myaccount_get_accounts_total_count(void); -int previous_cnt; +extern int previous_cnt; #ifdef __cplusplus } #endif #endif /*__MY_ACCOUNT_VIEW_H__*/ - diff --git a/src/my-account-view-main.c b/src/my-account-view-main.c index b092103..19c5cbf 100644 --- a/src/my-account-view-main.c +++ b/src/my-account-view-main.c @@ -30,6 +30,8 @@ #include "my-account-util.h" #include "my-account-ui-widget.h" +int previous_cnt; + static void lang_changed(appdata *ad) { if (!ad) { |