Add missing _WIN32

This commit is contained in:
LAGonauta 2020-05-04 18:16:17 -03:00
parent 0d384f83ae
commit e2fd821bb4

View file

@ -54,6 +54,7 @@ public class MainWindow : Gtk.Window {
} }
private void setup_unified() { private void setup_unified() {
#if _WIN32 // WIN32 seems to not support exporting these symbols
{ {
new Dino.Ui.ConversationSelector(); new Dino.Ui.ConversationSelector();
new Dino.Ui.ConversationSummary.ConversationView(); new Dino.Ui.ConversationSummary.ConversationView();
@ -63,7 +64,7 @@ public class MainWindow : Gtk.Window {
new Dino.Ui.SizeRequestBox(); new Dino.Ui.SizeRequestBox();
new Dino.Ui.SizingBin(); new Dino.Ui.SizingBin();
} }
#endif
Builder builder = new Builder.from_resource("/im/dino/Dino/unified_main_content.ui"); Builder builder = new Builder.from_resource("/im/dino/Dino/unified_main_content.ui");
paned = (Paned) builder.get_object("paned"); paned = (Paned) builder.get_object("paned");
box.add(paned); box.add(paned);