Skip to content

Commit

Permalink
Release v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-graj committed Mar 27, 2023
1 parent f78ae6c commit d31a205
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'OrbVis',
'c',
version : '0.2.1',
version : '0.2.2',
license : 'GPL-2.0-or-later',
default_options : [
'c_std=c11',
Expand Down Expand Up @@ -34,4 +34,5 @@ executable(
gen_res,
include_directories : [orbvis_incdir, lib_incdir],
dependencies : deps,
install : true,
)
1 change: 1 addition & 0 deletions res/ui/ui.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="toolbar-style">both-horiz</property>
<property name="show-arrow">False</property>
<property name="icon_size">4</property>
<child>
<object class="GtkToolItem">
Expand Down
4 changes: 3 additions & 1 deletion src/gfx/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ void on_glarea_realize(GtkWidget *widget, gpointer user_data)

GtkGLArea *glarea = GTK_GL_AREA(widget);

error_check(!gtk_gl_area_get_error(glarea), "Failed to create OpenGL context");
GError *error = gtk_gl_area_get_error(glarea);
if (unlikely(error != NULL))
error("Failed to create OpenGL context.\n%s", error->message);

gtk_gl_area_make_current(glarea);

Expand Down
2 changes: 1 addition & 1 deletion util/winbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ meson setup builddir
meson compile -C builddir
mkdir -p release/bin
cd release/bin
mv ../../$BIN_NAME $BIN_NAME
mv ../../builddir/$BIN_NAME $BIN_NAME
ldd $BIN_NAME | grep '\/mingw.*\.dll' -o | xargs -I{} cp "{}" .
cd ..
mkdir -p lib/gdk-pixbuf-2.0/2.10.0/loaders
Expand Down

0 comments on commit d31a205

Please sign in to comment.