Skip to content


Browse files Browse the repository at this point in the history
Make sure the libpeas-gtk dependency isn't optimized away
Aggressive linkers could drop the dependency which would
cause problems using during runtime.
Based on a patch for the same problem for gedit by Garret Regier.

origin commit:
  • Loading branch information
fxri authored and raveit65 committed Aug 13, 2018
1 parent c2fc002 commit adfe0c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eom-preferences-dialog.c
Expand Up @@ -145,6 +145,10 @@ eom_preferences_dialog_class_init (EomPreferencesDialogClass *klass)
GtkWidgetClass *widget_class = (GtkWidgetClass*) klass;

/* This should make sure the libpeas-gtk dependency isn't
* dropped by aggressive linkers (#739618) */

gtk_widget_class_set_template_from_resource (widget_class,
gtk_widget_class_bind_template_child_private (widget_class,
Expand Down

0 comments on commit adfe0c7

Please sign in to comment.