aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-session.c6
-rw-r--r--src/session-service.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index a815e40..54431ee 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -20,9 +20,13 @@ You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <glib.h>
#include <glib-object.h>
-#include <glib/gi18n.h>
+#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <libdbusmenu-gtk/menu.h>
diff --git a/src/session-service.c b/src/session-service.c
index a6c3fc3..febf007 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -586,7 +586,7 @@ rebuild_items (DbusmenuMenuitem *root,
rebuilds the menu */
static void
user_change (UsersServiceDbus *service,
- UserData *user,
+ gint64 user,
gpointer user_data)
{
DbusmenuMenuitem *root = (DbusmenuMenuitem *)user_data;