[gimp] app: move new "about.h" include to its place, add some newlines
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: move new "about.h" include to its place, add some newlines
- Date: Wed, 7 Jun 2017 18:54:29 +0000 (UTC)
commit 40a1d7c560e1c76a650de8d9a6feb31aee9555e2
Author: Michael Natterer <mitch gimp org>
Date: Wed Jun 7 20:53:48 2017 +0200
app: move new "about.h" include to its place, add some newlines
app/gui/gui-message.c | 5 ++++-
app/widgets/gimperrordialog.c | 2 ++
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/app/gui/gui-message.c b/app/gui/gui-message.c
index 8f83d78..6a50b60 100644
--- a/app/gui/gui-message.c
+++ b/app/gui/gui-message.c
@@ -22,7 +22,6 @@
#include <gegl.h>
#include <gtk/gtk.h>
-#include "about.h"
#include "libgimpbase/gimpbase.h"
#include "libgimpwidgets/gimpwidgets.h"
@@ -44,6 +43,8 @@
#include "widgets/gimpwidgets-utils.h"
#include "widgets/gimpwindowstrategy.h"
+#include "about.h"
+
#include "gui-message.h"
#include "gimp-intl.h"
@@ -58,6 +59,7 @@ typedef struct
GimpMessageSeverity severity;
} GimpLogMessageData;
+
static gboolean gui_message_idle (gpointer user_data);
static gboolean gui_message_error_console (Gimp *gimp,
GimpMessageSeverity severity,
@@ -72,6 +74,7 @@ static void gui_message_console (GimpMessageSeverity severity,
const gchar *domain,
const gchar *message);
+
void
gui_message (Gimp *gimp,
GObject *handler,
diff --git a/app/widgets/gimperrordialog.c b/app/widgets/gimperrordialog.c
index a8fff8d..1e86ef0 100644
--- a/app/widgets/gimperrordialog.c
+++ b/app/widgets/gimperrordialog.c
@@ -97,6 +97,7 @@ gimp_error_dialog_finalize (GObject *object)
g_list_free_full (dialog->messages,
gimp_error_dialog_message_destroy);
+
G_OBJECT_CLASS (parent_class)->finalize (object);
}
@@ -117,6 +118,7 @@ gimp_error_dialog_message_destroy (gpointer data)
g_free (item);
}
+
/* public functions */
GtkWidget *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]