summaryrefslogtreecommitdiff
path: root/eel/eel-stock-dialogs.h
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-07-06 20:09:53 -0400
committerAntónio Fernandes <antoniof@gnome.org>2022-08-06 19:35:00 +0100
commit2bfc3f35845ff752b24023ea327dedcf81d13497 (patch)
tree990449ef571a04ea78c5e1c7c5173966241d4486 /eel/eel-stock-dialogs.h
parentd0ec3265e3cfb6886538ba97632d580f73e4b430 (diff)
downloadnautilus-2bfc3f35845ff752b24023ea327dedcf81d13497.tar.gz
eel-stock-dialogs: Remove message dialogs
Now that we have AdwMessageDialog to provide a GNOME-compliant message dialog API, we don't need the functions from eel. This commit removes all of the functions for creating dialogs from eel-stock-dialogs.
Diffstat (limited to 'eel/eel-stock-dialogs.h')
-rw-r--r--eel/eel-stock-dialogs.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/eel/eel-stock-dialogs.h b/eel/eel-stock-dialogs.h
index 064afb490..8136735e9 100644
--- a/eel/eel-stock-dialogs.h
+++ b/eel/eel-stock-dialogs.h
@@ -38,28 +38,3 @@ void eel_timed_wait_start_with_duration (int duration,
GtkWindow *parent_window);
void eel_timed_wait_stop (EelCancelCallback cancel_callback,
gpointer callback_data);
-
-/* Basic dialog with buttons. */
-GtkDialog *eel_show_simple_dialog (GtkWidget *parent,
- GtkMessageType message_type,
- const char *primary_text,
- const char *secondary_text,
- ...);
-
-/* Variations on gnome stock dialogs; these do line wrapping, we don't
- * bother with non-parented versions, we allow setting the title,
- * primary, and secondary messages, and we return GtkDialog pointers
- * instead of GtkWidget pointers.
- */
-GtkDialog *eel_show_yes_no_dialog (const char *primary_text,
- const char *secondary_text,
- const char *yes_label,
- const char *no_label,
- GtkWindow *parent);
-GtkDialog *eel_create_question_dialog (const char *primary_text,
- const char *secondary_text,
- const char *answer_one,
- int response_one,
- const char *answer_two,
- int response_two,
- GtkWindow *parent);