From 94326a8cad79aad2fd89d45503ada0455d644756 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 14 Mar 2024 15:16:47 -0300 Subject: [PATCH] minor tweaks --- plugins/plugins.h | 4 ++++ rose | Bin 40176 -> 40176 bytes rose.c | 14 +++++--------- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 plugins/plugins.h diff --git a/plugins/plugins.h b/plugins/plugins.h new file mode 100644 index 0000000..184e58b --- /dev/null +++ b/plugins/plugins.h @@ -0,0 +1,4 @@ +#include "libre_redirect/libre_redirect.h" +#include "readability/readability.h" +#include "shortcuts/shortcuts.h" +#include "style/style.h" diff --git a/rose b/rose index 95c8e0a7817772e463357f5b89f94796371fba55..f3c043b9d6ac55a06ff5bee1652b9e012cca60fa 100755 GIT binary patch delta 673 zcmYMyT}V@57zgn4yv{fag``uC6|yL_4{%Pwl`dOd6w)deyQsV?tWJ(}=YG8DTvc>j`1<$faqCh+s+vOVsV$`z ztFiVh(PitgH({tnCpQFI=n+2%^pVr5KQu%tzux+Gm=x{ieA7m9adEJXl6)aJK$|V+ z(XzGdI9*0=zSnv+w9W3-8deo(by|E*+{-mbL9-WW$$0G{Q{h)AgllY delta 733 zcmYL{Ur1AN6vyxRspKFbX))0dUrI6N-Ih4hFpH>JRvJP^5B}Mv_s*%yx&FYSggq4W zpd7;prG76SP=Q(!z>An5ko6S8frm|AP9+meQQt`zI@L2oWr^2{_ZdRRHUDZ zsd_TC<|%)lR-=Jb$`5yE>_74yv1(ok)Y=l0-|e|0C2MWZh8@2)I^0G$E9RgFY_GD= zgwasdNA%p7aYoFdtcdFxJ+#da8^@^As68`H!e%kPo+UvyINh|D+BvVeo6;O=j*{Cb zJYT$fN0;vR)~G7axXY?TLGOSy=pN7mgF)5f?bJK^tagVw&>!?#_1=zdZ!i;U{k`4* ztkqEw=)>ZC!8_ErxFzK*GzE=A)nBCC1#Nyt9%@2dfP4TUAc5K8kf>ciZb|G%EMp;jN~ZF=#rFkU<_Qx(M8`#*@F5UsDbNX1RPCD8T;dx zrThsVUy;%#&<}dR!S_;5fH5!uCO$}+odv&&zAU9isZ3#2Bobg0jC{n3U~~-)*%IZlnQ8ho&Pm0-P{-*C2$z?9|RfzZspYoMcm_t5QEWG1K zzGGCzTfSP{k$pYq$j_mkOEkqxJx564e7_Ub2LEYHz2`qDe#H5uzb+^KN=ge(y~xmd u7fp1_ICRxX)WVmqy`ZpRzus1i7mSRlrvLYIe#~idX_*gk8K(Oi*}nlXm_VTb diff --git a/rose.c b/rose.c index 3205eeb..34a74ad 100644 --- a/rose.c +++ b/rose.c @@ -1,12 +1,10 @@ -#include "config.h" -#include "plugins/libre_redirect/libre_redirect.h" -#include "plugins/readability/readability.h" -#include "plugins/shortcuts/shortcuts.h" -#include "plugins/style/style.h" #include #include #include +#include "config.h" +#include "plugins/plugins.h" + /* Global declarations */ static GtkNotebook* notebook; static GtkWindow* window; @@ -399,9 +397,7 @@ int handle_signal_keypress(void* self, GdkEvent* event, GtkNotebook* notebook) - - https://docs.gtk.org/gdk3/struct.EventButton.html */ - /* - This API is deprecated in GTK4 :( - */ + // This API is deprecated in GTK4 :( return 0; } @@ -414,7 +410,7 @@ int main(int argc, char** argv) gtk_css_provider_load_from_path(css, "/usr/share/themes/rose/style.css", NULL); gtk_style_context_add_provider_for_screen(gdk_screen_get_default(), GTK_STYLE_PROVIDER(css), 800); - /* Initialize GTK objects. These are declared as static globals */ + /* Initialize GTK objects. These are declared as static globals at the top of this file */ // Notebook notebook = GTK_NOTEBOOK(gtk_notebook_new()); gtk_notebook_set_show_tabs(notebook, false);