@@ -695,6 +695,22 @@ public static MemorySegment app_indicator_new(MemorySegment id, MemorySegment ic
695
695
throw new AssertionError ("should not reach here" , ex$ );
696
696
}
697
697
}
698
+ public static MethodHandle app_indicator_new_with_path$MH () {
699
+ return RuntimeHelper .requireNonNull (constants$7 .app_indicator_new_with_path$MH ,"app_indicator_new_with_path" );
700
+ }
701
+ /**
702
+ * {@snippet :
703
+ * AppIndicator* app_indicator_new_with_path(const gchar* id, const gchar* icon_name, AppIndicatorCategory category, const gchar* icon_theme_path);
704
+ * }
705
+ */
706
+ public static MemorySegment app_indicator_new_with_path (MemorySegment id , MemorySegment icon_name , int category , MemorySegment icon_theme_path ) {
707
+ var mh$ = app_indicator_new_with_path$MH ();
708
+ try {
709
+ return (java .lang .foreign .MemorySegment )mh$ .invokeExact (id , icon_name , category , icon_theme_path );
710
+ } catch (Throwable ex$ ) {
711
+ throw new AssertionError ("should not reach here" , ex$ );
712
+ }
713
+ }
698
714
public static MethodHandle app_indicator_set_status$MH () {
699
715
return RuntimeHelper .requireNonNull (constants$7 .app_indicator_set_status$MH ,"app_indicator_set_status" );
700
716
}
@@ -760,7 +776,7 @@ public static void app_indicator_set_icon(MemorySegment self, MemorySegment icon
760
776
}
761
777
}
762
778
public static MethodHandle app_indicator_set_label$MH () {
763
- return RuntimeHelper .requireNonNull (constants$7 .app_indicator_set_label$MH ,"app_indicator_set_label" );
779
+ return RuntimeHelper .requireNonNull (constants$8 .app_indicator_set_label$MH ,"app_indicator_set_label" );
764
780
}
765
781
/**
766
782
* {@snippet :
@@ -856,7 +872,7 @@ public static int app_indicator_get_status(MemorySegment self) {
856
872
}
857
873
}
858
874
public static MethodHandle app_indicator_get_icon$MH () {
859
- return RuntimeHelper .requireNonNull (constants$8 .app_indicator_get_icon$MH ,"app_indicator_get_icon" );
875
+ return RuntimeHelper .requireNonNull (constants$9 .app_indicator_get_icon$MH ,"app_indicator_get_icon" );
860
876
}
861
877
/**
862
878
* {@snippet :
@@ -952,7 +968,7 @@ public static int app_indicator_get_ordering_index(MemorySegment self) {
952
968
}
953
969
}
954
970
public static MethodHandle app_indicator_build_menu_from_desktop$MH () {
955
- return RuntimeHelper .requireNonNull (constants$9 .app_indicator_build_menu_from_desktop$MH ,"app_indicator_build_menu_from_desktop" );
971
+ return RuntimeHelper .requireNonNull (constants$10 .app_indicator_build_menu_from_desktop$MH ,"app_indicator_build_menu_from_desktop" );
956
972
}
957
973
/**
958
974
* {@snippet :
0 commit comments