|
1 | 1 | /******************************************************************************* |
2 | | - * Copyright (c) 2000, 2025 IBM Corporation and others. |
| 2 | + * Copyright (c) 2000, 2026 IBM Corporation and others. |
3 | 3 | * |
4 | 4 | * This program and the accompanying materials |
5 | 5 | * are made available under the terms of the Eclipse Public License 2.0 |
@@ -751,13 +751,33 @@ JNIEXPORT jlong JNICALL GTK4_NATIVE(gtk_1calendar_1get_1date) |
751 | 751 | #endif |
752 | 752 |
|
753 | 753 | #ifndef NO_gtk_1calendar_1select_1day |
| 754 | +G_GNUC_BEGIN_IGNORE_DEPRECATIONS |
754 | 755 | JNIEXPORT void JNICALL GTK4_NATIVE(gtk_1calendar_1select_1day) |
755 | 756 | (JNIEnv *env, jclass that, jlong arg0, jlong arg1) |
756 | 757 | { |
757 | 758 | GTK4_NATIVE_ENTER(env, that, gtk_1calendar_1select_1day_FUNC); |
758 | 759 | gtk_calendar_select_day((GtkCalendar *)arg0, (GDateTime *)arg1); |
759 | 760 | GTK4_NATIVE_EXIT(env, that, gtk_1calendar_1select_1day_FUNC); |
760 | 761 | } |
| 762 | +G_GNUC_END_IGNORE_DEPRECATIONS |
| 763 | +#endif |
| 764 | + |
| 765 | +#ifndef NO_gtk_1calendar_1set_1date |
| 766 | +JNIEXPORT void JNICALL GTK4_NATIVE(gtk_1calendar_1set_1date) |
| 767 | + (JNIEnv *env, jclass that, jlong arg0, jlong arg1) |
| 768 | +{ |
| 769 | + GTK4_NATIVE_ENTER(env, that, gtk_1calendar_1set_1date_FUNC); |
| 770 | +/* |
| 771 | + gtk_calendar_set_date((GtkCalendar *)arg0, (GDateTime *)arg1); |
| 772 | +*/ |
| 773 | + { |
| 774 | + GTK4_LOAD_FUNCTION(fp, gtk_calendar_set_date) |
| 775 | + if (fp) { |
| 776 | + ((void (CALLING_CONVENTION*)(GtkCalendar *, GDateTime *))fp)((GtkCalendar *)arg0, (GDateTime *)arg1); |
| 777 | + } |
| 778 | + } |
| 779 | + GTK4_NATIVE_EXIT(env, that, gtk_1calendar_1set_1date_FUNC); |
| 780 | +} |
761 | 781 | #endif |
762 | 782 |
|
763 | 783 | #ifndef NO_gtk_1calendar_1set_1show_1day_1names |
|
0 commit comments