mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 22:03:46 -07:00
Remove direct struct accessor in support.c
This commit is contained in:
parent
179f8a3a9e
commit
92f5d4f6b2
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ GtkWidget *lookup_widget(GtkWidget * widget, const gchar * widget_name) {
|
|||
if (GTK_IS_MENU(widget))
|
||||
parent = gtk_menu_get_attach_widget(GTK_MENU(widget));
|
||||
else
|
||||
parent = widget->parent;
|
||||
parent = gtk_widget_get_parent(widget);
|
||||
if (!parent)
|
||||
parent = (GtkWidget *) g_object_get_data(G_OBJECT(widget), "GladeParentKey");
|
||||
if (parent == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue