Skip to content

Commit

Permalink
plugins/adrv9009.c: replace deprecated gtk3 function
Browse files Browse the repository at this point in the history
use gtk_container_add instead of gtk_widget_reparent

Signed-off-by: Cristina Suteu <[email protected]>
  • Loading branch information
cristina-suteu committed Jan 8, 2024
1 parent c95337e commit b41c4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/adrv9009.c
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ void buildTabsInContainer(GtkBox *container_box, enum plugin_section section, bo
if (!gtk_widget_get_parent(content_widget)) {
gtk_box_pack_start(GTK_BOX(page_container), content_widget, FALSE, TRUE, 0);
} else {
gtk_widget_reparent(content_widget, page_container);
gtk_container_add(GTK_CONTAINER(page_container), content_widget);
}
}

Expand Down

0 comments on commit b41c4a7

Please sign in to comment.