rm another useless cast
This commit is contained in:
		
							parent
							
								
									d1c38ae02c
								
							
						
					
					
						commit
						b74d1d5e1c
					
				@ -36,12 +36,11 @@ static void search(VteTerminal *vte, const char *pattern, bool reverse) {
 | 
				
			|||||||
    vte_terminal_copy_primary(vte);
 | 
					    vte_terminal_copy_primary(vte);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void search_response_cb(GtkDialog *dialog, gint response_id, search_dialog_info *info) {
 | 
					static void search_response_cb(GtkWidget *dialog, gint response_id, search_dialog_info *info) {
 | 
				
			||||||
    if (response_id == GTK_RESPONSE_ACCEPT) {
 | 
					    if (response_id == GTK_RESPONSE_ACCEPT) {
 | 
				
			||||||
        search(VTE_TERMINAL(info->vte), gtk_entry_get_text(GTK_ENTRY(info->entry)), info->reverse);
 | 
					        search(VTE_TERMINAL(info->vte), gtk_entry_get_text(GTK_ENTRY(info->entry)), info->reverse);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    gtk_widget_destroy(dialog);
 | 
				
			||||||
    gtk_widget_destroy(GTK_WIDGET(dialog));
 | 
					 | 
				
			||||||
    info->open = false;
 | 
					    info->open = false;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user