diff -pruN 2.4.2-3/debian/changelog 2.4.3-1/debian/changelog
--- 2.4.2-3/debian/changelog	2023-02-04 14:58:40.000000000 +0000
+++ 2.4.3-1/debian/changelog	2023-05-26 09:25:35.000000000 +0000
@@ -1,3 +1,9 @@
+xapp (2.4.3-1) unstable; urgency=medium
+
+  * New upstream bugfix version 2.4.3
+
+ -- Fabio Fantoni <fantonifabio@tiscali.it>  Fri, 26 May 2023 11:25:35 +0200
+
 xapp (2.4.2-3) unstable; urgency=medium
 
   * Remove xapp metapackage as not needed anymore
diff -pruN 2.4.2-3/libxapp/xapp-favorites.c 2.4.3-1/libxapp/xapp-favorites.c
--- 2.4.2-3/libxapp/xapp-favorites.c	2022-12-02 17:40:25.000000000 +0000
+++ 2.4.3-1/libxapp/xapp-favorites.c	2023-03-28 17:06:49.000000000 +0000
@@ -717,7 +717,7 @@ on_content_type_info_received (GObject
 
     if (file_info)
     {
-        cached_mimetype = g_strdup (g_file_info_get_content_type (file_info));
+        cached_mimetype = g_strdup (g_file_info_get_attribute_string (file_info, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE));
 
         if (cached_mimetype == NULL)
         {
diff -pruN 2.4.2-3/libxapp/xapp-status-icon.c 2.4.3-1/libxapp/xapp-status-icon.c
--- 2.4.2-3/libxapp/xapp-status-icon.c	2022-12-02 17:40:25.000000000 +0000
+++ 2.4.3-1/libxapp/xapp-status-icon.c	2023-03-28 17:06:49.000000000 +0000
@@ -365,6 +365,10 @@ popup_menu (XAppStatusIcon *self,
                               x, y, button, _time, panel_position,
                               &rect_window, &win_rect, &rect_anchor, &menu_anchor);
 
+    g_object_set_data_full (G_OBJECT (menu),
+                            "rect_window", rect_window,
+                            (GDestroyNotify) gdk_window_destroy);
+
     g_object_set (G_OBJECT (menu),
                   "anchor-hints", GDK_ANCHOR_SLIDE_X  | GDK_ANCHOR_SLIDE_Y  |
                                   GDK_ANCHOR_RESIZE_X | GDK_ANCHOR_RESIZE_Y,
@@ -378,7 +382,6 @@ popup_menu (XAppStatusIcon *self,
                             event);
 
     gdk_event_free (event);
-    gdk_window_destroy (rect_window);
 }
 
 static gboolean
diff -pruN 2.4.2-3/meson.build 2.4.3-1/meson.build
--- 2.4.2-3/meson.build	2022-12-02 17:40:25.000000000 +0000
+++ 2.4.3-1/meson.build	2023-03-28 17:06:49.000000000 +0000
@@ -1,6 +1,6 @@
 project('xapp',
     'c',
-    version : '2.4.2',
+    version : '2.4.3',
     default_options : [ 'buildtype=debugoptimized' ],
 )
 
