mirror of https://github.com/GNOME/gimp.git
plug-ins: fix build warnings.
Fixes several missing declaration warnings because in fact of missing include, such as: > warning: no previous declaration for ‘console_editor_new’ [-Wmissing-declarations] Fixes 2 old-style definitions: > warning: old-style function definition [-Wold-style-definition]
This commit is contained in:
parent
f0ab126563
commit
6a9838c804
|
@ -19,6 +19,8 @@
|
|||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "script-fu-console-editor.h"
|
||||
|
||||
|
||||
/* ConsoleEditor
|
||||
|
||||
|
@ -40,7 +42,7 @@
|
|||
*/
|
||||
|
||||
GtkWidget *
|
||||
console_editor_new ()
|
||||
console_editor_new (void)
|
||||
{
|
||||
return gtk_entry_new ();
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
GtkTextBuffer *
|
||||
console_total_history_new ()
|
||||
console_total_history_new (void)
|
||||
{
|
||||
return gtk_text_buffer_new (NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue