summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/view.c b/source/view.c
index fc5efb64..c72daa4a 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1592,7 +1592,7 @@ RofiViewState *rofi_view_create ( Mode *sw,
}
return state;
}
-static void error_dialog_event_loop ( RofiViewState *state, XEvent *ev )
+static void __error_dialog_event_loop ( RofiViewState *state, XEvent *ev )
{
// Wait for event.
if ( sndisplay != NULL ) {
@@ -1614,13 +1614,13 @@ static void error_dialog_event_loop ( RofiViewState *state, XEvent *ev )
}
rofi_view_update ( state );
}
-void error_dialog ( const char *msg, int markup )
+void rofi_view_error_dialog ( const char *msg, int markup )
{
RofiViewState *state = rofi_view_state_create ();
state->retv = MENU_CANCEL;
state->update = TRUE;
state->border = config.padding + config.menu_bw;
- state->x11_event_loop = error_dialog_event_loop;
+ state->x11_event_loop = __error_dialog_event_loop;
state->finalize = NULL;
// Try to grab the keyboard as early as possible.