cleanup style

This commit is contained in:
Tony Theodore 2015-11-21 13:55:08 +11:00
parent 554d7fcf03
commit 9c000cf49c
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ static void activate(GtkApplication *app)
button = gtk_button_new_with_label("Hello World");
g_signal_connect_swapped(button, "clicked",
G_CALLBACK(gtk_widget_destroy), window);
G_CALLBACK(gtk_widget_destroy), window);
gtk_container_add(GTK_CONTAINER(window), button);
gtk_widget_show_all(window);

View File

@ -24,7 +24,7 @@ define $(PKG)_BUILD
--prefix='$(PREFIX)' \
--target='$(TARGET)'
$(MAKE) -C '$(1)/mingw-w64-tools/widl' -j '$(JOBS)' install
# create cmake file
echo 'set(CMAKE_WIDL $(PREFIX)/bin/$(TARGET)-$(PKG) CACHE PATH "widl executable")' \
> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ue