Skip to content

Commit c145039

Browse files
committed
feat: Update deps + gtk fix
1 parent 35379eb commit c145039

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

flatpak/org.nickvision.application.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
{
5050
"type": "git",
5151
"url": "https://github.com/libcpr/cpr",
52-
"commit": "93a325cd5496c79d1783c22041985fe5d27ac965"
52+
"commit": "7015cb7aefea98268b2b0bb9a5c35e5d6526f9c6"
5353
}
5454
]
5555
},

libapplication/src/models/configuration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Nickvision::Application::Shared::Models
99
Configuration::Configuration(const std::string& key, const std::string& appName, bool isPortable)
1010
: DataFileBase{ key, appName, isPortable }
1111
{
12-
12+
1313
}
1414

1515
Theme Configuration::getTheme() const

org.nickvision.application.gnome/src/helpers/gtkhelpers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ namespace Nickvision::Application::GNOME::Helpers
2929
{
3030
oldSeparator = gtk_widget_get_next_sibling(widget);
3131
}
32-
if(oldSeparator && GTK_IS_SEPARATOR(oldSeparator))
32+
if(addSeparator && oldSeparator && GTK_IS_SEPARATOR(oldSeparator))
3333
{
3434
gtk_box_remove(oldBox, oldSeparator);
3535
}
3636
gtk_box_remove(oldBox, widget);
37-
if(addSeparator && gtk_widget_get_first_child(GTK_WIDGET(newBox)) != nullptr)
37+
if(addSeparator && oldSeparator && GTK_IS_SEPARATOR(oldSeparator) && gtk_widget_get_first_child(GTK_WIDGET(newBox)) != nullptr)
3838
{
3939
gtk_box_append(newBox, gtk_separator_new(GTK_ORIENTATION_HORIZONTAL));
4040
}

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ parts:
2626

2727
cpr:
2828
source: https://github.com/libcpr/cpr.git
29-
source-commit: '93a325cd5496c79d1783c22041985fe5d27ac965'
29+
source-commit: '7015cb7aefea98268b2b0bb9a5c35e5d6526f9c6'
3030
source-depth: 1
3131
plugin: cmake
3232
cmake-parameters:

0 commit comments

Comments
 (0)