summaryrefslogtreecommitdiff
path: root/src/callbacks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/callbacks.cpp')
-rw-r--r--src/callbacks.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index d8d54ac..fbfb37d 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -131,6 +131,8 @@ cb_show_lsof(GtkAction *action, gpointer data)
void
cb_about (GtkAction *action, gpointer data)
{
+ ProcData *procdata = static_cast<ProcData*>(data);
+
const gchar * const authors[] = {
"Kevin Vandersloot",
"Erik Johnsson",
@@ -156,7 +158,7 @@ cb_about (GtkAction *action, gpointer data)
};
gtk_show_about_dialog (
- NULL,
+ GTK_WINDOW (procdata->app),
"name", _("System Monitor"),
"comments", _("View current processes and monitor system state"),
"version", VERSION,