From ff9d3624a051bb897474c291a027badb8b30c924 Mon Sep 17 00:00:00 2001 From: Vasily_Makarov Date: Thu, 9 Feb 2012 12:40:26 +0400 Subject: SAE: Removing search_find_dialog_show --- saedit/search.c | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'saedit/search.c') diff --git a/saedit/search.c b/saedit/search.c index 447f68c..e8d4097 100644 --- a/saedit/search.c +++ b/saedit/search.c @@ -71,34 +71,3 @@ void search_find_dialog_response_callback(GtkWidget *dialog, void search_init(GtkWidget *text_view) { search_text_view = text_view; } - -void search_find_dialog_show(GtkWindow *parent, - GtkWidget *text_view) { - GtkWidget *dialog; - GtkWidget *vbox; - GtkWidget *entry; - GtkWidget *content_area; - GtkWidget *label; - - dialog = gtk_dialog_new_with_buttons(_("Find"), - parent, - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_FIND, - GTK_RESPONSE_ACCEPT, - NULL); - gtk_widget_set_size_request(dialog, 240, 80); - gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); - content_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); - - entry = gtk_entry_new(); - gtk_container_add(GTK_CONTAINER(content_area), entry); - - g_signal_connect(dialog, - "response", - G_CALLBACK(search_find_dialog_response_callback), - entry); - - search_text_view = text_view; - - gtk_dialog_run(GTK_DIALOG(dialog)); -} -- cgit v1.2.3-70-g09d2