Skip to content

Commit

Permalink
refactor(ui): rename into more standard glade file
Browse files Browse the repository at this point in the history
  • Loading branch information
jtheoof committed Jun 14, 2020
1 parent e8a9636 commit af5effc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion res/swappy.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<gresources>
<gresource prefix="/me/jtheoof/swappy">
<file>style/swappy.css</file>
<file>swappy.ui</file>
<file>swappy.glade</file>
</gresource>
</gresources>
2 changes: 1 addition & 1 deletion src/application.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ static bool load_layout(struct swappy_state *state) {

/* Construct a GtkBuilder instance and load our UI description */
GtkBuilder *builder = gtk_builder_new();
if (gtk_builder_add_from_resource(builder, "/me/jtheoof/swappy/swappy.ui",
if (gtk_builder_add_from_resource(builder, "/me/jtheoof/swappy/swappy.glade",
&error) == 0) {
g_printerr("Error loading file: %s", error->message);
g_clear_error(&error);
Expand Down

0 comments on commit af5effc

Please sign in to comment.