summaryrefslogtreecommitdiff
path: root/eel/eel-stock-dialogs.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-21 03:29:50 +0300
committermonsta <[email protected]>2016-08-22 16:40:21 +0300
commit3c6122df79f4d6e86d7afa0e6c4b64403de7bc44 (patch)
treebd06579cadb62b290fb983f61a02e4dedb3f64b1 /eel/eel-stock-dialogs.c
parent6f295db45ebcb52c6e9ad39f8d639e35f88c5ef5 (diff)
downloadcaja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.bz2
caja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.xz
drop a large amount of completely unused code
Diffstat (limited to 'eel/eel-stock-dialogs.c')
-rw-r--r--eel/eel-stock-dialogs.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c
index 7f83476e..1d6d0802 100644
--- a/eel/eel-stock-dialogs.c
+++ b/eel/eel-stock-dialogs.c
@@ -445,17 +445,6 @@ show_ok_dialog (const char *primary_text,
}
GtkDialog *
-eel_create_info_dialog (const char *primary_text,
- const char *secondary_text,
- GtkWindow *parent)
-{
- return create_message_dialog (primary_text, secondary_text,
- GTK_MESSAGE_INFO,
- GTK_BUTTONS_OK,
- parent);
-}
-
-GtkDialog *
eel_show_info_dialog (const char *primary_text,
const char *secondary_text,
GtkWindow *parent)
@@ -512,31 +501,6 @@ eel_show_error_dialog (const char *primary_text,
GTK_MESSAGE_ERROR, parent);
}
-GtkDialog *
-eel_show_error_dialog_with_details (const char *primary_text,
- const char *secondary_text,
- const char *detailed_error_message,
- GtkWindow *parent)
-{
- GtkDialog *dialog;
-
- g_return_val_if_fail (primary_text != NULL, NULL);
- g_return_val_if_fail (parent == NULL || GTK_IS_WINDOW (parent), NULL);
-
- if (detailed_error_message == NULL
- || strcmp (primary_text, detailed_error_message) == 0)
- {
- return eel_show_error_dialog (primary_text, secondary_text, parent);
- }
-
- dialog = show_message_dialog (primary_text,
- secondary_text,
- GTK_MESSAGE_ERROR,
- GTK_BUTTONS_OK, detailed_error_message,
- parent);
- return dialog;
-}
-
/**
* eel_show_yes_no_dialog:
*