Revert a wrong commit. Un-wanted files are committed together.
[framework/uifw/elementary.git] / src / bin / test_fileselector_button.c
index f72a3cb..e87a716 100644 (file)
@@ -1,9 +1,9 @@
-#include <Elementary.h>
 #include "test.h"
 #ifdef HAVE_CONFIG_H
 # include "elementary_config.h"
 #endif
 
+#include <Elementary.h>
 #ifndef ELM_LIB_QUICKLAUNCH
 struct _api_data
 {
@@ -24,7 +24,7 @@ static void
 set_api_state(api_data *api)
 {
    const Eina_List *items = elm_box_children_get(api->box);
-   if(!eina_list_count(items))
+   if (!eina_list_count(items))
      return;
 
    /* Get first item of list of vbox children */
@@ -34,7 +34,7 @@ set_api_state(api_data *api)
    switch(api->state)
      { /* Put all api-changes under switch */
       case ICON_UNSET:
-         elm_fileselector_button_icon_unset(fs_bt);
+         elm_object_part_content_unset(fs_bt, NULL);
          break;
 
       case WINDOW_TITLE_SET: