filter_attributes("", view->Topview);
}
-static void gvpr_select(char *attrname, char *regex_str, int objType) {
+static void gvpr_select(const char *attrname, const char *regex_str,
+ int objType) {
char *bf2;
int i, argc;
(void)widget;
(void)user_data;
- char *attrname =
- (char *) gtk_entry_get_text((GtkEntry *)
+ const char *attrname = gtk_entry_get_text((GtkEntry *)
glade_xml_get_widget(xml, "txtAttr"));
- char *regex_str =
- (char *) gtk_entry_get_text((GtkEntry *)
+ const char *regex_str = gtk_entry_get_text((GtkEntry *)
glade_xml_get_widget(xml, "txtValue"));
gvpr_select(attrname, regex_str, get_object_type());