summaryrefslogtreecommitdiff
path: root/capplets/appearance/mate-wp-info.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-08 04:01:38 -0300
committerPerberos <[email protected]>2011-12-08 04:01:38 -0300
commit8e68aa4f36fd333cb4f3c65efd7b0525a793299e (patch)
tree98c5d74fabbd6035f29be806b5230f9d11e0d9ed /capplets/appearance/mate-wp-info.h
parentc9b0659767febba8b1852c3c5726d55983c22e28 (diff)
downloadmate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.bz2
mate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.xz
removing deprecated GDK_DISPLAY()
Diffstat (limited to 'capplets/appearance/mate-wp-info.h')
-rw-r--r--capplets/appearance/mate-wp-info.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/capplets/appearance/mate-wp-info.h b/capplets/appearance/mate-wp-info.h
index 95c94f89..21462e5c 100644
--- a/capplets/appearance/mate-wp-info.h
+++ b/capplets/appearance/mate-wp-info.h
@@ -24,22 +24,19 @@
#include <glib.h>
#include <libmateui/mate-desktop-thumbnail.h>
-typedef struct _MateWPInfo MateWPInfo;
+typedef struct _MateWPInfo {
+ char* uri;
+ char* thumburi;
+ char* name;
+ char* mime_type;
-struct _MateWPInfo {
- gchar * uri;
- gchar * thumburi;
- gchar * name;
- gchar * mime_type;
+ goffset size;
- goffset size;
+ time_t mtime;
+} MateWPInfo;
- time_t mtime;
-};
-
-MateWPInfo * mate_wp_info_new (const gchar * uri,
- MateDesktopThumbnailFactory * thumbs);
-void mate_wp_info_free (MateWPInfo * info);
+MateWPInfo* mate_wp_info_new(const char* uri, MateDesktopThumbnailFactory* thumbs);
+void mate_wp_info_free(MateWPInfo* info);
#endif