-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use G_CALLBACK() macro to silence incompatible function pointer warnings and disables any argument checks. Sugested by: dim See also: https://lists.freebsd.org/archives/freebsd-ports/2023-July/004036.html MFH: 2023Q3
- Loading branch information
1 parent
bcea2e3
commit e95c4be
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/bftextview2_autocomp.c.orig 2023-07-04 14:09:37 UTC | ||
+++ src/bftextview2_autocomp.c | ||
@@ -429,7 +429,7 @@ acwin_create(BluefishTextView * btv) | ||
/*gtk_widget_set_size_request(acw->reflabel,150,-1); */ | ||
gtk_widget_show_all(acw->scroll); | ||
gtk_widget_show(hbox); | ||
- g_signal_connect(acw->reflabel, "activate-link", acw_label_active_link_lcb, acw); | ||
+ g_signal_connect(acw->reflabel, "activate-link", G_CALLBACK(acw_label_active_link_lcb), acw); | ||
/*gtk_widget_set_size_request(GTK_WIDGET(acw->tree),100,200); */ | ||
/*gtk_widget_set_size_request(acw->win, 150, 200); */ | ||
/*g_signal_connect(G_OBJECT(acw->win),"key-release-event",G_CALLBACK(acwin_key_release_lcb),acw); */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/external_commands.c.orig 2023-07-04 14:12:18 UTC | ||
+++ src/external_commands.c | ||
@@ -483,7 +483,7 @@ create_commandstring(Texternalp * ep, const gchar * fo | ||
gtk_dialog_set_default_response(GTK_DIALOG(dialog),GTK_RESPONSE_ACCEPT); | ||
tmp = g_strdup_printf(_("Supply arguments to define %%a in '%s'"), formatstring); | ||
entry = dialog_entry_labeled(NULL, tmp, gtk_dialog_get_content_area(GTK_DIALOG(dialog)), 6); | ||
- g_signal_connect(G_OBJECT(entry), "activate", command_dialog_entry_activated_lcb, dialog); | ||
+ g_signal_connect(G_OBJECT(entry), "activate", G_CALLBACK(command_dialog_entry_activated_lcb), dialog); | ||
g_free(tmp); | ||
gtk_widget_show_all(dialog); | ||
result = gtk_dialog_run(GTK_DIALOG(dialog)); |